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.001038/0.001038, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001144/0.001144, allocations: 169.3 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.9915/0.9915, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.951/1.951, allocations: 377.8 MB / 0.6236 GB, free: 8.516 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 3.356e-06/3.356e-06, allocations: 0 / 0.8115 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.599e-05/3.934e-05, allocations: 7.156 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002667/0.002707, allocations: 0.7244 MB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.004066, allocations: 0.8788 MB / 0.8131 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.004117, allocations: 4 kB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.004161, allocations: 5.219 kB / 0.8131 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.223e-05/0.004254, allocations: 3.938 kB / 0.8131 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.004435, allocations: 23.91 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.00455, allocations: 53.33 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.004671, allocations: 11.98 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.004766, allocations: 19.98 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.004832, allocations: 24.52 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.004858, allocations: 4 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.004871, allocations: 4.906 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.004892, allocations: 7.984 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.004924, allocations: 15.92 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.005041, allocations: 40.48 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.005045, allocations: 0.75 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.492e-06/0.005047, allocations: 0 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.005052, allocations: 0 / 0.8133 GB, free: 15.86 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.0004743/0.005526, allocations: 377.7 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.005572, allocations: 8.031 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.005619, allocations: 9.516 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.005738, allocations: 112.6 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.005763, allocations: 0.9688 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.00578, allocations: 9.625 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.005956, allocations: 62.94 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.005974, allocations: 7.875 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.005986, allocations: 2.219 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.005995, allocations: 7.938 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.859e-05/0.006054, allocations: 15.97 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.006487, allocations: 283.7 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.006612, allocations: 56.33 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.006653, allocations: 11.69 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.006672, allocations: 0 / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.0067, allocations: 41.39 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.006701, allocations: 1.281 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002197/0.006921, allocations: 53.72 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.006954, allocations: 56.06 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.007054, allocations: 173.9 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.007067, allocations: 26.42 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.007123, allocations: 134.8 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.007142, allocations: 8.453 kB / 0.8147 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.007187, allocations: 28.8 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.007323, allocations: 492.1 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.00736, allocations: 11.98 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.007384, allocations: 4 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.007441, allocations: 25.5 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.007445, allocations: 3.938 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.007564, allocations: 61.61 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.00758, allocations: 5.844 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.007586, allocations: 0 / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.007606, allocations: 4 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.007722, allocations: 7.938 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.00773, allocations: 3.984 kB / 0.8153 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.007771, allocations: 5.156 kB / 0.8153 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.007779, allocations: 0 / 0.8153 GB, free: 13.6 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 0.0002584/0.008037, allocations: 166 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.008069, allocations: 7.953 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.008102, allocations: 7.984 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008105, allocations: 0 / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.00811, allocations: 0.5312 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.008113, allocations: 3.938 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.008266, allocations: 125.2 kB / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.00827, allocations: 4.469 kB / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.008336, allocations: 12.83 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.008339, allocations: 0 / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.008349, allocations: 4 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.008351, allocations: 0.8438 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008352, allocations: 4 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.008531, allocations: 196.4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.008548, allocations: 16.73 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.008566, allocations: 7.984 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.008649, allocations: 4.844 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.008717, allocations: 7.984 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.008724, allocations: 5.344 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.008784, allocations: 131.2 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008784, allocations: 0 / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002555/0.00904, allocations: 12 kB / 0.816 GB, free: 12.84 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 0.0001359/0.009175, allocations: 98.83 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.009311, allocations: 29.36 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.009313, allocations: 0 / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.009361, allocations: 27.67 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.009657, allocations: 7.938 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.01003, allocations: 131.2 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.028e-05/0.01008, allocations: 58.83 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.894e-05/0.01011, allocations: 7.984 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.01015, allocations: 12.5 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.01015, allocations: 0 / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.002565/0.01271, allocations: 0.9679 MB / 0.8173 GB, free: 11.48 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.377491371240467]