Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001492/0.001492, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001713/0.001713, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9707/0.9707, allocations: 177.1 MB / 204.6 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.878/1.878, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.956e-05, allocations: 7.156 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001671/0.0017, allocations: 0.5561 MB / 0.8121 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 5.057e-05/0.001751, allocations: 7.938 kB / 0.8121 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.001782, allocations: 0 / 0.8121 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.001809, allocations: 0 / 0.8121 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/0.001842, allocations: 5.469 kB / 0.8121 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.561e-05/0.001877, allocations: 4 kB / 0.8121 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.736e-05/0.001935, allocations: 0 / 0.8121 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.001982, allocations: 0 / 0.8121 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.002012, allocations: 1.344 kB / 0.8121 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.362e-05/0.002035, allocations: 4 kB / 0.8121 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.002054, allocations: 0 / 0.8121 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.002058, allocations: 0.5 kB / 0.8121 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.002071, allocations: 0 / 0.8121 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.00209, allocations: 1.594 kB / 0.8121 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.965e-05/0.002159, allocations: 11.97 kB / 0.8121 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.002162, allocations: 0 / 0.8121 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002163, allocations: 0 / 0.8121 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.002167, allocations: 0.625 kB / 0.8121 GB, free: 1.488 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000351/0.002518, allocations: 340.4 kB / 0.8124 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.002559, allocations: 8.938 kB / 0.8124 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.002594, allocations: 4.938 kB / 0.8124 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.242e-05/0.002687, allocations: 117.2 kB / 0.8126 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.002698, allocations: 4.375 kB / 0.8126 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.002707, allocations: 4.906 kB / 0.8126 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.416e-05/0.002781, allocations: 31.64 kB / 0.8126 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.002787, allocations: 192 / 0.8126 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.002796, allocations: 384 / 0.8126 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.002803, allocations: 384 / 0.8126 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.033e-05/0.002814, allocations: 9.688 kB / 0.8126 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.00306, allocations: 466.2 kB / 0.8131 GB, free: 432 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.964e-05/0.00314, allocations: 273.4 kB / 0.8133 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.003173, allocations: 130.9 kB / 0.8134 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.003207, allocations: 120.4 kB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.003246, allocations: 152.6 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.003246, allocations: 0 / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.499e-05/0.003301, allocations: 36.95 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.003351, allocations: 174.6 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.003423, allocations: 149.9 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.036e-06/0.003431, allocations: 25.7 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.003466, allocations: 131.2 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.003468, allocations: 0 / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.003488, allocations: 19.38 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.003588, allocations: 496.1 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.003593, allocations: 0.9688 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-06/0.003596, allocations: 0 / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.003625, allocations: 119.2 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.446e-05/0.003649, allocations: 123.7 kB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.703e-05/0.003686, allocations: 30.2 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.003723, allocations: 127.2 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.00375, allocations: 123.7 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.683e-05/0.003807, allocations: 239.5 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.492e-05/0.003832, allocations: 127.1 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-05/0.003881, allocations: 250.5 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.003928, allocations: 123.9 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.00395, allocations: 119.2 kB / 0.816 GB, free: 13.29 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 9.934e-05/0.004049, allocations: 397.1 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.00409, allocations: 148.8 kB / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.004139, allocations: 167.7 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.459e-05/0.004194, allocations: 268.1 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.233e-05/0.004246, allocations: 268 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.398e-05/0.0043, allocations: 268.6 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.004445, allocations: 491.9 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-05/0.004478, allocations: 157.5 kB / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.004507, allocations: 148.9 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-05/0.004559, allocations: 268.8 kB / 0.8185 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/0.004621, allocations: 264.1 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.237e-05/0.004673, allocations: 273 kB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.055e-05/0.004724, allocations: 272 kB / 0.8192 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.004835, allocations: 449.2 kB / 0.8197 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.004868, allocations: 148.9 kB / 0.8198 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.004929, allocations: 272 kB / 0.8201 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.004981, allocations: 152.8 kB / 0.8202 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.005038, allocations: 265 kB / 0.8205 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.005069, allocations: 153.2 kB / 0.8206 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.005103, allocations: 125.5 kB / 0.8207 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005103, allocations: 0 / 0.8207 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001553/0.005258, allocations: 0 / 0.8207 GB, free: 8.258 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001083/0.005366, allocations: 218.4 kB / 0.8209 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.923e-05/0.005405, allocations: 1.031 kB / 0.8209 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.005407, allocations: 0 / 0.8209 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.005408, allocations: 0 / 0.8209 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.005703, allocations: 0.7091 MB / 0.8216 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.005911, allocations: 208.7 kB / 0.8218 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.964e-05/0.005941, allocations: 52.48 kB / 0.8219 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.124e-06/0.005943, allocations: 4 kB / 0.8219 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.005955, allocations: 8.5 kB / 0.8219 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.005956, allocations: 0.9375 kB / 0.8219 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of Templates: time 0.001387/0.007343, allocations: 174.9 kB / 0.8221 GB, free: 6.84 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.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.143133634002879]