Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.172/2.172, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001163/0.001163, allocations: 183.3 kB / 498.1 MB, free: 5.73 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.43/1.43, allocations: 223.2 MB / 0.7948 GB, free: 17.81 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.0008558/0.0008557, allocations: 98.73 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 14.62 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.4507, allocations: 153.5 MB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.451, allocations: 83.89 kB / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02073/0.4717, allocations: 7.715 MB / 1.38 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4718, allocations: 0 / 1.38 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.229e-05/0.4718, allocations: 4 kB / 1.38 GB, free: 0.6055 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009158/0.4727, allocations: 0.589 MB / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4728, allocations: 8.031 kB / 1.381 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.4728, allocations: 46.55 kB / 1.381 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.4729, allocations: 35.41 kB / 1.381 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.4735, allocations: 342.5 kB / 1.381 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.4735, allocations: 12.17 kB / 1.381 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.4735, allocations: 12 kB / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.4739, allocations: 132.8 kB / 1.382 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4739, allocations: 0 / 1.382 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.4739, allocations: 4 kB / 1.382 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.4739, allocations: 3.953 kB / 1.382 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.4742, allocations: 108.5 kB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.4751, allocations: 0.5051 MB / 1.382 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.4755, allocations: 150.9 kB / 1.382 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.4755, allocations: 0 / 1.382 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.4758, allocations: 115.4 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.4758, allocations: 0 / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0006315/0.4764, allocations: 229.2 kB / 1.383 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.4765, allocations: 51.41 kB / 1.383 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.4769, allocations: 350 kB / 1.383 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4769, allocations: 29.7 kB / 1.383 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.477, allocations: 151.9 kB / 1.383 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.477, allocations: 31.62 kB / 1.383 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.477, allocations: 4 kB / 1.383 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4772, allocations: 342.8 kB / 1.384 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.4774, allocations: 96.5 kB / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.4777, allocations: 127.6 kB / 1.384 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.4779, allocations: 96.64 kB / 1.384 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4779, allocations: 0 / 1.384 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005455/0.4785, allocations: 286.8 kB / 1.384 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4785, allocations: 4 kB / 1.384 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4785, allocations: 4 kB / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4785, allocations: 0 / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.4787, allocations: 43.94 kB / 1.384 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4787, allocations: 0 / 1.384 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.4789, allocations: 31.88 kB / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.479, allocations: 15.92 kB / 1.384 GB, free: 12.47 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 (21): * Single equations (assignments): 21 * 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.000136/0.4791, allocations: 157.7 kB / 1.384 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.4792, allocations: 23.72 kB / 1.384 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.4796, allocations: 199.3 kB / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4796, allocations: 4 kB / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4797, allocations: 0 / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4797, allocations: 0 / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.4799, allocations: 281.5 kB / 1.385 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4799, allocations: 0 / 1.385 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.48, allocations: 19.98 kB / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.48, allocations: 0 / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.4801, allocations: 4.359 kB / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4801, allocations: 4 kB / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4801, allocations: 0 / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.4805, allocations: 220.6 kB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.4806, allocations: 108.7 kB / 1.385 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4806, allocations: 4 kB / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4808, allocations: 31.97 kB / 1.385 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.4809, allocations: 19.97 kB / 1.385 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4809, allocations: 7.984 kB / 1.385 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002251/0.4811, allocations: 229.9 kB / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4811, allocations: 0 / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002929/0.4814, allocations: 63.92 kB / 1.386 GB, free: 11.02 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 (11): * Single equations (assignments): 9 * 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.001587/0.483, allocations: 1.076 MB / 1.387 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.4835, allocations: 173.4 kB / 1.387 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.4835, allocations: 0 / 1.387 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.4837, allocations: 68.02 kB / 1.387 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.4841, allocations: 52.84 kB / 1.387 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.4852, allocations: 0.9087 MB / 1.388 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4856, allocations: 0.7638 MB / 1.389 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.4857, allocations: 33.94 kB / 1.389 GB, free: 7.992 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.4859, allocations: 83.39 kB / 1.389 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of SimCode: time 4.2e-07/0.4859, allocations: 0 / 1.389 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.5036, allocations: 5.612 MB / 1.394 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.5038, allocations: 222 kB / 1.394 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.5, allocations: 2.953 kB / 1.394 GB, free: 2.219 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat does not exist to compare? outputFormat=mat