Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001182/0.001182, allocations: 175.3 kB / 498.1 MB, free: 5.68 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.6/1.6, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009431/0.0009431, allocations: 100.3 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003878, allocations: 13.69 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3632, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2167/0.5799, allocations: 149.1 MB / 1.368 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5802, allocations: 71.89 kB / 1.369 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00276/0.583, allocations: 0.9494 MB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.923e-06/0.583, allocations: 4 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.583, allocations: 0 / 1.369 GB, free: 11.96 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.0004419/0.5835, allocations: 359.2 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5835, allocations: 12.03 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.5836, allocations: 3.906 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.5838, allocations: 175 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.5838, allocations: 0 / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.5838, allocations: 8 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.584, allocations: 69.66 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.584, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.584, allocations: 7.984 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.5841, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.5843, allocations: 59.95 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.5847, allocations: 292.7 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.5849, allocations: 70.55 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.585, allocations: 144 / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.585, allocations: 34.55 kB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.585, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004367/0.5854, allocations: 137.5 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5855, allocations: 55.36 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.5856, allocations: 101 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.5856, allocations: 25.7 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.5857, allocations: 88.08 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.5857, allocations: 15.81 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.5857, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5858, allocations: 318.8 kB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.586, allocations: 23.98 kB / 1.371 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/0.5861, allocations: 31.97 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.5862, allocations: 27.98 kB / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5862, allocations: 0 / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002483/0.5865, allocations: 93.58 kB / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5865, allocations: 12 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5865, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.5865, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.5867, allocations: 11.98 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5867, allocations: 4 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.5868, allocations: 19.94 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.5868, allocations: 0 / 1.371 GB, free: 9.734 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 (intGreThr.u,intGreThr.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 9.649e-05/0.5869, allocations: 113.8 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.587, allocations: 3.906 kB / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.587, allocations: 15.83 kB / 1.372 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.587, allocations: 0 / 1.372 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.587, allocations: 4 kB / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.587, allocations: 0 / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.5873, allocations: 169.6 kB / 1.372 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5873, allocations: 0 / 1.372 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.5874, allocations: 15.98 kB / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5874, allocations: 7.984 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.5874, allocations: 4 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.5874, allocations: 0 / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5874, allocations: 0 / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.5877, allocations: 199.4 kB / 1.372 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.5878, allocations: 84.95 kB / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.5878, allocations: 0 / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5879, allocations: 11.98 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.588, allocations: 11.98 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.588, allocations: 8 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.291e-05/0.5881, allocations: 91.56 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5881, allocations: 0 / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002197/0.5883, allocations: 16 kB / 1.372 GB, free: 8.891 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 (intGreThr.u,intGreThr.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.000217/0.5885, allocations: 107 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.5888, allocations: 68.25 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5888, allocations: 4 kB / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.589, allocations: 35.98 kB / 1.372 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.5892, allocations: 13.48 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.5897, allocations: 132.9 kB / 1.372 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.59, allocations: 0.6887 MB / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.217e-05/0.59, allocations: 4 kB / 1.373 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.5901, allocations: 11.44 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.5901, allocations: 0 / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.003188/0.5933, allocations: 0.7336 MB / 1.374 GB, free: 7.039 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches