Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001375, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.36/2.36, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.927/2.927, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006901/0.0006903, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9469/0.9476, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001087/0.9488, allocations: 0.5238 MB / 0.9814 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.9499, allocations: 0.8624 MB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.95, allocations: 8 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.95, allocations: 3.938 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.9501, allocations: 19.86 kB / 0.9823 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.9503, allocations: 27.95 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.9504, allocations: 47.88 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.9506, allocations: 19.98 kB / 0.9824 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.9507, allocations: 19.94 kB / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.592e-05/0.9508, allocations: 31.83 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.9508, allocations: 0 / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.9508, allocations: 4 kB / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.9508, allocations: 3.938 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.9509, allocations: 33.7 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.693e-05/0.951, allocations: 55.86 kB / 0.9825 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.951, allocations: 3.938 kB / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.984e-06/0.951, allocations: 0 / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.951, allocations: 0 / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000597/0.9516, allocations: 393.2 kB / 0.9829 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.9517, allocations: 8.031 kB / 0.9829 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.9517, allocations: 34.56 kB / 0.9829 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.9518, allocations: 7.906 kB / 0.9829 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.952, allocations: 190.9 kB / 0.9831 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.952, allocations: 8 kB / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.952, allocations: 4 kB / 0.9831 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.9522, allocations: 69.56 kB / 0.9832 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.9522, allocations: 0 / 0.9832 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.9523, allocations: 7.984 kB / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9523, allocations: 0 / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.9524, allocations: 35.98 kB / 0.9832 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.9529, allocations: 340.6 kB / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.9531, allocations: 54.55 kB / 0.9836 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.9531, allocations: 0 / 0.9836 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.9532, allocations: 34.56 kB / 0.9836 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.9532, allocations: 0 / 0.9836 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003045/0.9535, allocations: 81.86 kB / 0.9837 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.9536, allocations: 55.39 kB / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.9537, allocations: 135 kB / 0.9839 GB, free: 3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.9537, allocations: 29.7 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.9538, allocations: 92.14 kB / 0.984 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.9539, allocations: 15.83 kB / 0.984 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.9539, allocations: 0 / 0.984 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.9541, allocations: 310.8 kB / 0.9843 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.9541, allocations: 27.98 kB / 0.9844 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.9542, allocations: 12 kB / 0.9844 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.848e-05/0.9542, allocations: 19.94 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9542, allocations: 0 / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001534/0.9544, allocations: 73.52 kB / 0.9845 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9544, allocations: 10.34 kB / 0.9845 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9544, allocations: 4 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.9545, allocations: 0 / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.9545, allocations: 4 kB / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.9545, allocations: 0 / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.803e-05/0.9546, allocations: 15.98 kB / 0.9845 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.9546, allocations: 4 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (gre.y,$PRE.greHys.greHys.y,greHys.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.9548, allocations: 121.8 kB / 0.9846 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.9548, allocations: 7.891 kB / 0.9846 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.9548, allocations: 12.25 kB / 0.9846 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.9548, allocations: 3.938 kB / 0.9846 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9549, allocations: 0 / 0.9846 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9549, allocations: 0 / 0.9846 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.9551, allocations: 181.6 kB / 0.9848 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9551, allocations: 3.953 kB / 0.9848 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.9551, allocations: 11.98 kB / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.9551, allocations: 0 / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.9551, allocations: 4 kB / 0.9848 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.9552, allocations: 3.938 kB / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9552, allocations: 0 / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.9554, allocations: 159.4 kB / 0.985 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.9554, allocations: 88.97 kB / 0.9851 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.9555, allocations: 0 / 0.9851 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9556, allocations: 15.98 kB / 0.9851 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.9556, allocations: 7.984 kB / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.9556, allocations: 0 / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.588e-05/0.9557, allocations: 107.2 kB / 0.9852 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9557, allocations: 0 / 0.9852 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002179/0.956, allocations: 8 kB / 0.9852 GB, free: 1.555 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005268/0.9565, allocations: 0.7088 MB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.9567, allocations: 39.97 kB / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.9567, allocations: 4 kB / 0.9859 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/0.9568, allocations: 19.94 kB / 0.9859 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.957, allocations: 15.88 kB / 0.986 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.958, allocations: 0.5343 MB / 0.9865 GB, free: 160 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.9583, allocations: 0.6926 MB / 0.9872 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.369e-05/0.9584, allocations: 8.188 kB / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.9585, allocations: 27.42 kB / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.9585, allocations: 0 / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07954/1.038, allocations: 1.704 MB / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000309/1.038, allocations: 197 kB / 0.989 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.732, allocations: 0 / 0.989 GB, free: 13.64 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat