Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.284/2.284, allocations: 393.5 MB / 408.5 MB, free: 11.08 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.001144/0.001144, allocations: 195.5 kB / 0.4902 GB, free: 2.293 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.616/1.616, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001109/0.001108, allocations: 111 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 10.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3368, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.5409, allocations: 150.1 MB / 1.376 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5412, allocations: 87.92 kB / 1.376 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001758/0.543, allocations: 0.6256 MB / 1.377 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.543, allocations: 0 / 1.377 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.5431, allocations: 4 kB / 1.377 GB, free: 2.734 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004465/0.5435, allocations: 339.6 kB / 1.377 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.5436, allocations: 12.56 kB / 1.377 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.5436, allocations: 3.906 kB / 1.377 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.5438, allocations: 167 kB / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.5438, allocations: 4 kB / 1.377 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.5438, allocations: 3.938 kB / 1.377 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.544, allocations: 53.69 kB / 1.377 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.544, allocations: 0 / 1.377 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.544, allocations: 3.984 kB / 1.377 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5441, allocations: 0 / 1.377 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.5442, allocations: 51.91 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.5447, allocations: 269.8 kB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.5449, allocations: 46.56 kB / 1.377 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.5449, allocations: 0 / 1.377 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.5449, allocations: 34.56 kB / 1.377 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.985e-06/0.5449, allocations: 0 / 1.377 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000373/0.5453, allocations: 101.6 kB / 1.378 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.5454, allocations: 55.41 kB / 1.378 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.5455, allocations: 92.98 kB / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.5455, allocations: 29.7 kB / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.5455, allocations: 84.05 kB / 1.378 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.5456, allocations: 7.938 kB / 1.378 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.5456, allocations: 4.125 kB / 1.378 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5457, allocations: 318.8 kB / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.5458, allocations: 15.98 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-05/0.5459, allocations: 27.97 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.267e-05/0.546, allocations: 20.05 kB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.546, allocations: 4 kB / 1.378 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002109/0.5462, allocations: 77.61 kB / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5463, allocations: 7.984 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5463, allocations: 0 / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5463, allocations: 3.938 kB / 1.378 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.5464, allocations: 8 kB / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.5464, allocations: 0 / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.291e-05/0.5465, allocations: 15.89 kB / 1.378 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/0.5465, allocations: 0 / 1.378 GB, free: 0.6992 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.79e-05/0.5466, allocations: 117.8 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.5466, allocations: 4 kB / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.5467, allocations: 7.109 kB / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5467, allocations: 0 / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5467, allocations: 3.938 kB / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5467, allocations: 0 / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.5469, allocations: 165.6 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5469, allocations: 0 / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.547, allocations: 15.98 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.547, allocations: 0 / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.547, allocations: 0 / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.547, allocations: 3.938 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.547, allocations: 3.984 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.5473, allocations: 171.5 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.5474, allocations: 81.09 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.5474, allocations: 4 kB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.5475, allocations: 11.98 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.5475, allocations: 4 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.5475, allocations: 0 / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.5476, allocations: 91.55 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5476, allocations: 0 / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001947/0.5478, allocations: 4 kB / 1.379 GB, free: 15.93 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: 1 (greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001288/0.548, allocations: 104 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.5482, allocations: 51.89 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5482, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.5483, allocations: 19.98 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.5485, allocations: 14.2 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.5488, allocations: 116.7 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.5492, allocations: 0.677 MB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.5492, allocations: 4 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.5492, allocations: 11.38 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.5492, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.002802/0.5521, allocations: 394.8 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches