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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.414/2.414, allocations: 390.5 MB / 398 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 180.9 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 91.58 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.303e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2801, allocations: 143 MB / 1.212 GB, free: 39.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9158/1.196, allocations: 153.4 MB / 1.362 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/1.196, allocations: 75.41 kB / 1.362 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01964/1.216, allocations: 7.247 MB / 1.369 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/1.216, allocations: 224 / 1.369 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.292e-05/1.216, allocations: 7.812 kB / 1.369 GB, free: 32.48 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007615/1.217, allocations: 0.4973 MB / 1.37 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.217, allocations: 7.656 kB / 1.37 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.903e-05/1.217, allocations: 31.14 kB / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/1.217, allocations: 327.4 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/1.218, allocations: 7.844 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/1.218, allocations: 3.812 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001166/1.218, allocations: 60.2 kB / 1.37 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/1.218, allocations: 80.23 kB / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.218, allocations: 0 / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/1.218, allocations: 0 / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.218, allocations: 7.766 kB / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007948/1.219, allocations: 431.5 kB / 1.371 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/1.219, allocations: 73.81 kB / 1.371 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/1.219, allocations: 33.75 kB / 1.371 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/1.219, allocations: 7.953 kB / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/1.219, allocations: 80.92 kB / 1.371 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/1.219, allocations: 3.938 kB / 1.371 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002733/1.219, allocations: 113.3 kB / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/1.219, allocations: 55.25 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/1.22, allocations: 324.5 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/1.22, allocations: 29.27 kB / 1.371 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/1.22, allocations: 148.8 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/1.22, allocations: 17.94 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/1.22, allocations: 0 / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.22, allocations: 335.8 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/1.22, allocations: 61.8 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.514e-05/1.22, allocations: 93.11 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/1.22, allocations: 76.22 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.22, allocations: 4.031 kB / 1.372 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003362/1.221, allocations: 222.8 kB / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.221, allocations: 3.688 kB / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.221, allocations: 3.969 kB / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.221, allocations: 0 / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/1.221, allocations: 32.31 kB / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.221, allocations: 0 / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/1.221, allocations: 26.06 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/1.221, allocations: 10.36 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 9.547e-05/1.221, allocations: 114.4 kB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001705/1.221, allocations: 119.9 kB / 1.373 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/1.222, allocations: 25.58 kB / 1.373 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/1.222, allocations: 127.1 kB / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.222, allocations: 0 / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.222, allocations: 3.938 kB / 1.373 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.222, allocations: 7.938 kB / 1.373 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/1.222, allocations: 232.4 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.222, allocations: 0 / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/1.222, allocations: 6.281 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.222, allocations: 0 / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.222, allocations: 3.781 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.222, allocations: 2.203 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.222, allocations: 0 / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/1.222, allocations: 151.9 kB / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/1.222, allocations: 107.1 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/1.222, allocations: 7.25 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/1.223, allocations: 14.8 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/1.223, allocations: 16.45 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/1.223, allocations: 3.906 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001835/1.223, allocations: 217.9 kB / 1.374 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.223, allocations: 0 / 1.374 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002783/1.223, allocations: 57.33 kB / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001132/1.224, allocations: 0.9352 MB / 1.375 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001814/1.224, allocations: 113 kB / 1.375 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.224, allocations: 0 / 1.375 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.057e-05/1.225, allocations: 36.03 kB / 1.375 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/1.225, allocations: 49.73 kB / 1.375 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/1.225, allocations: 375.6 kB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/1.226, allocations: 0.7572 MB / 1.376 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001344/1.226, allocations: 35.42 kB / 1.376 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.226, allocations: 72.8 kB / 1.376 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.226, allocations: 4 kB / 1.376 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/1.249, allocations: 4.698 MB / 1.381 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/1.25, allocations: 204.9 kB / 1.381 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/3.12, allocations: 0 / 1.381 GB, free: 27.85 MB / 0.8386 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) 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