Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 87.58 kB / 20.45 MB, free: 4.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9818/0.9818, allocations: 177.1 MB / 204.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.726e-05, allocations: 6.312 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001257/0.001274, allocations: 0.7253 MB / 0.8123 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.002094, allocations: 0.8837 MB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.002133, allocations: 0 / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.002164, allocations: 3.938 kB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.002235, allocations: 4.469 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.002368, allocations: 25.16 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.823e-05/0.002446, allocations: 47.84 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.002541, allocations: 11.98 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.002634, allocations: 29.97 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.002683, allocations: 27.81 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.002703, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.002713, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.002729, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.002754, allocations: 15.92 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.206e-05/0.002846, allocations: 33.33 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002848, allocations: 3.938 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002849, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.002853, allocations: 1.5 kB / 0.8133 GB, free: 15.89 MB / 0.7761 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.0003775/0.00323, allocations: 376.5 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.003264, allocations: 8.031 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.003302, allocations: 12.89 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.003396, allocations: 114 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.003415, allocations: 384 / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.00343, allocations: 8.312 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.003553, allocations: 68.86 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.003563, allocations: 3.938 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.003575, allocations: 4 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.003582, allocations: 4 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.003623, allocations: 11.98 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.003943, allocations: 281.8 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.563e-05/0.004039, allocations: 54.92 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.004067, allocations: 11.72 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.004084, allocations: 0 / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.004105, allocations: 37.89 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.004106, allocations: 0.5312 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001659/0.004272, allocations: 66.36 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.004304, allocations: 55.41 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.004386, allocations: 174.4 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.004397, allocations: 27.23 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.004447, allocations: 138.8 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.004465, allocations: 3.953 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.004497, allocations: 27.36 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.004604, allocations: 492.7 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.004627, allocations: 9.297 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/0.004643, allocations: 8 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.004686, allocations: 23.67 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004688, allocations: 5.094 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.768e-05/0.004766, allocations: 57.58 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.004779, allocations: 7.938 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.004784, allocations: 0.9375 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.004801, allocations: 4 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.00488, allocations: 12.73 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.004885, allocations: 0 / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.004912, allocations: 5.094 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.004918, allocations: 4 kB / 0.8154 GB, free: 13.62 MB / 0.7761 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 (reaToInt.y,intLesEquThr.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.004984, allocations: 157.4 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.005001, allocations: 7.953 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.005029, allocations: 11.98 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.00503, allocations: 1.469 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.005034, allocations: 0 / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005036, allocations: 0 / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.599e-05/0.005132, allocations: 124.7 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.005135, allocations: 9 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.005163, allocations: 11.98 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005164, allocations: 2 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.005173, allocations: 4 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.005173, allocations: 7.938 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005174, allocations: 0 / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.005288, allocations: 191.9 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.0053, allocations: 22.22 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.005309, allocations: 0 / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.005348, allocations: 4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.005393, allocations: 7.984 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.005397, allocations: 4 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.005432, allocations: 131.2 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005432, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001386/0.005571, allocations: 8.5 kB / 0.816 GB, free: 12.88 MB / 0.7761 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 (intLesEquThr.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.139e-05/0.005642, allocations: 97.78 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.005744, allocations: 35.59 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005745, allocations: 0 / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.005778, allocations: 23.67 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.005966, allocations: 20.44 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.006268, allocations: 126.3 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.006312, allocations: 64 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.006339, allocations: 9.25 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.006379, allocations: 19.72 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.00638, allocations: 0 / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.002676/0.009056, allocations: 0.9523 MB / 0.8173 GB, free: 11.5 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.284296540077776]