Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.00143/0.00143, 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.494/1.494, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0008718/0.0008719, allocations: 90.75 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003609, allocations: 11.61 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.4728, allocations: 149.1 MB / 1.368 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.4731, allocations: 67.97 kB / 1.369 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002883/0.476, allocations: 0.9455 MB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4761, allocations: 0 / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4761, allocations: 0 / 1.369 GB, free: 12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004557/0.4765, allocations: 363.2 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.4766, allocations: 8.031 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.4767, allocations: 7.906 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4769, allocations: 167 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4769, allocations: 4 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.4769, allocations: 4 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.4772, allocations: 77.64 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4772, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4772, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4772, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.4774, allocations: 55.95 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.4779, allocations: 300.7 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.4781, allocations: 66.53 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.4781, allocations: 0 / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.4782, allocations: 38.5 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4782, allocations: 4.031 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.000432/0.4786, allocations: 129.6 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.4787, allocations: 55.36 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.4788, allocations: 108.9 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.4788, allocations: 25.7 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.4788, allocations: 88.14 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.4789, allocations: 7.812 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.4789, allocations: 0 / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.479, allocations: 322.8 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4791, allocations: 27.98 kB / 1.371 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.331e-05/0.4792, allocations: 27.97 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.4793, allocations: 23.98 kB / 1.371 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4794, allocations: 8 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002537/0.4796, allocations: 97.58 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4796, allocations: 4 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4796, allocations: 0 / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4797, allocations: 0 / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.4798, allocations: 19.98 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4798, allocations: 0 / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/0.4799, allocations: 16.27 kB / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4799, allocations: 0 / 1.371 GB, free: 9.773 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: 2 (intGreEquThr.u,intGreEquThr.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 8.154e-05/0.48, allocations: 114.5 kB / 1.372 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.48, allocations: 3.906 kB / 1.372 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.4801, allocations: 11.88 kB / 1.372 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4801, allocations: 8 kB / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4801, allocations: 4 kB / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4801, allocations: 0 / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.4803, allocations: 177.7 kB / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4803, allocations: 3.984 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.4804, allocations: 15.98 kB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4804, allocations: 0 / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4804, allocations: 0 / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4804, allocations: 3.938 kB / 1.372 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4804, allocations: 7.938 kB / 1.372 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.4808, allocations: 191.5 kB / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.4809, allocations: 81.02 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.4809, allocations: 4 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.481, allocations: 11.98 kB / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.4811, allocations: 11.98 kB / 1.372 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.4811, allocations: 4 kB / 1.372 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.4811, allocations: 87.27 kB / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4811, allocations: 3.938 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002155/0.4814, allocations: 12 kB / 1.372 GB, free: 8.93 MB / 0.8698 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 (intGreEquThr.u,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001488/0.4815, allocations: 111 kB / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.4818, allocations: 71.88 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4818, allocations: 0 / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4819, allocations: 35.98 kB / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.4821, allocations: 11.94 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.4825, allocations: 136.7 kB / 1.372 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.4827, allocations: 0.6848 MB / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.083e-05/0.4828, allocations: 8 kB / 1.373 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.4828, allocations: 15.38 kB / 1.373 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.4828, allocations: 0 / 1.373 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of Templates: time 0.002655/0.4855, allocations: 0.7316 MB / 1.374 GB, free: 7.07 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches