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.267/2.267, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001126/0.001126, allocations: 179.9 kB / 0.4901 GB, free: 2.242 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.508/1.508, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009005/0.0009004, allocations: 96.27 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005398/0.0005397, allocations: 10.44 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3186, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.5101, allocations: 154.1 MB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.5104, allocations: 79.95 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02108/0.5315, allocations: 7.33 MB / 1.387 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5316, allocations: 224 / 1.387 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.104e-05/0.5316, allocations: 11.94 kB / 1.387 GB, free: 7.867 MB / 0.8855 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.0009915/0.5326, allocations: 0.5449 MB / 1.388 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5327, allocations: 12.56 kB / 1.388 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.549e-05/0.5328, allocations: 34.56 kB / 1.388 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/0.5329, allocations: 35.58 kB / 1.388 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.5336, allocations: 330.4 kB / 1.388 GB, free: 6.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.5336, allocations: 4 kB / 1.388 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.5337, allocations: 15.98 kB / 1.388 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.5339, allocations: 89.52 kB / 1.388 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.5339, allocations: 0 / 1.388 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.5339, allocations: 12 kB / 1.388 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5339, allocations: 0 / 1.388 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.5341, allocations: 55.92 kB / 1.388 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.535, allocations: 456.5 kB / 1.389 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.5352, allocations: 90.62 kB / 1.389 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.5353, allocations: 4 kB / 1.389 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.5355, allocations: 87.45 kB / 1.389 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.5355, allocations: 4 kB / 1.389 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0004121/0.5359, allocations: 145.4 kB / 1.389 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.5359, allocations: 55.41 kB / 1.389 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.5364, allocations: 346.1 kB / 1.389 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.5364, allocations: 25.7 kB / 1.389 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5365, allocations: 148 kB / 1.389 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.5366, allocations: 19.8 kB / 1.389 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.5366, allocations: 0 / 1.389 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5367, allocations: 342.8 kB / 1.39 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.5369, allocations: 75.95 kB / 1.39 GB, free: 4.766 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.5371, allocations: 107 kB / 1.39 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.5372, allocations: 67.98 kB / 1.39 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5373, allocations: 0 / 1.39 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004299/0.5377, allocations: 231.1 kB / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5377, allocations: 12 kB / 1.39 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5377, allocations: 4.312 kB / 1.39 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5378, allocations: 0 / 1.39 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.5379, allocations: 23.98 kB / 1.39 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5379, allocations: 0 / 1.39 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.5381, allocations: 23.92 kB / 1.39 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.5381, allocations: 15.92 kB / 1.39 GB, free: 4.277 MB / 0.8855 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 () * Number of clocked 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 0.0001632/0.5383, allocations: 165.7 kB / 1.391 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.5383, allocations: 23.7 kB / 1.391 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.5387, allocations: 139.3 kB / 1.391 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.5387, allocations: 0 / 1.391 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5387, allocations: 0 / 1.391 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5387, allocations: 0 / 1.391 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.539, allocations: 257.5 kB / 1.391 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.539, allocations: 0 / 1.391 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.539, allocations: 7.984 kB / 1.391 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.539, allocations: 8 kB / 1.391 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.5391, allocations: 4 kB / 1.391 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5391, allocations: 4 kB / 1.391 GB, free: 3.609 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5391, allocations: 0 / 1.391 GB, free: 3.609 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5393, allocations: 152.8 kB / 1.391 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.5394, allocations: 112.8 kB / 1.391 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.5395, allocations: 0 / 1.391 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.5396, allocations: 15.98 kB / 1.391 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.5397, allocations: 19.97 kB / 1.391 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.5397, allocations: 7.938 kB / 1.391 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002521/0.54, allocations: 237.9 kB / 1.391 GB, free: 3.039 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.54, allocations: 0 / 1.391 GB, free: 3.039 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002927/0.5403, allocations: 47.94 kB / 1.391 GB, free: 2.992 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001542/0.5418, allocations: 1.028 MB / 1.392 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.5421, allocations: 119.8 kB / 1.393 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.5421, allocations: 0 / 1.393 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.5423, allocations: 47.86 kB / 1.393 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.5426, allocations: 51.47 kB / 1.393 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5439, allocations: 0.8553 MB / 1.394 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.5443, allocations: 0.7557 MB / 1.394 GB, free: 188 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.5445, allocations: 37.94 kB / 1.394 GB, free: 152 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.5446, allocations: 75.39 kB / 1.394 GB, free: 80 kB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.5446, allocations: 0 / 1.394 GB, free: 80 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.5632, allocations: 5.175 MB / 1.399 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/0.5636, allocations: 245.4 kB / 1.4 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.44, allocations: 3.938 kB / 1.4 GB, free: 10.86 MB / 0.9011 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