Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001186/0.001186, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001272/0.001272, allocations: 165 kB / 23.82 MB, free: 0.75 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.9921/0.9921, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.882/1.882, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.809e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001453/0.001481, allocations: 0.7199 MB / 0.8123 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009566/0.002437, allocations: 0.8788 MB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.002478, allocations: 5.25 kB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.002511, allocations: 3.938 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.011e-05/0.002591, allocations: 7.938 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.002767, allocations: 21.39 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.002869, allocations: 51.83 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002971, allocations: 8 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.003073, allocations: 29.09 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.003128, allocations: 23.91 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.003151, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.00316, allocations: 4.625 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.003179, allocations: 7.984 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.003203, allocations: 13.34 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.38e-05/0.003297, allocations: 43.81 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.0033, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003301, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003305, allocations: 1.031 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.00038/0.003685, allocations: 368.6 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.003721, allocations: 12.72 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.003765, allocations: 12.89 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.783e-05/0.003863, allocations: 109.5 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.003882, allocations: 4.359 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.003892, allocations: 4.375 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.004028, allocations: 71.47 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004036, allocations: 4.812 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.004046, allocations: 0 / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.004053, allocations: 1.25 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.004097, allocations: 19.98 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.004442, allocations: 279.7 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.302e-05/0.004535, allocations: 52.77 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.004565, allocations: 23.75 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.004578, allocations: 0 / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.004602, allocations: 34.52 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.004603, allocations: 0 / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002189/0.004822, allocations: 57.67 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.004864, allocations: 60.88 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.004961, allocations: 177.9 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.004974, allocations: 25.7 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.005018, allocations: 126.9 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.005038, allocations: 12.92 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.00507, allocations: 27.36 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.00518, allocations: 492.9 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.005201, allocations: 4 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.00522, allocations: 8.672 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.005271, allocations: 23.97 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.005274, allocations: 4.438 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.214e-05/0.005356, allocations: 58.81 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.005369, allocations: 11.92 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005374, allocations: 0 / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.005384, allocations: 0.5312 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.005473, allocations: 9.219 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005477, allocations: 0 / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.005506, allocations: 11.98 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.005511, allocations: 1.062 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,intLesThr.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.713e-05/0.005578, allocations: 160.5 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.005593, allocations: 4.922 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.005618, allocations: 15.94 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.005619, allocations: 0 / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.005623, allocations: 1.812 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.005626, allocations: 0 / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.783e-05/0.005724, allocations: 124.6 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.005726, allocations: 3.938 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.005759, allocations: 8 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00576, allocations: 2.031 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.005771, allocations: 11.98 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005773, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005774, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.005892, allocations: 199.9 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.005903, allocations: 12.52 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.005914, allocations: 4 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.005954, allocations: 7.422 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.006003, allocations: 11.98 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006008, allocations: 4 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.006047, allocations: 131.2 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006047, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001766/0.006223, allocations: 8 kB / 0.816 GB, free: 12.87 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 (intLesThr.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 8.77e-05/0.006311, allocations: 91.25 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.006436, allocations: 36.17 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.006438, allocations: 0.5625 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.006473, 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.0001887/0.006661, allocations: 13.41 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.0002872/0.006948, allocations: 127 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.006983, allocations: 55.36 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.00701, allocations: 10.58 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.007049, allocations: 16.5 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.00705, allocations: 0 / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of Templates: time 0.002573/0.009623, allocations: 1.028 MB / 0.8174 GB, free: 11.46 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.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.158154333010316]