Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.0009737/0.0009737, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001235/0.001235, allocations: 181 kB / 24.09 MB, free: 420 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.9801/0.9801, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.874/1.874, allocations: 377.9 MB / 0.6239 GB, free: 8.395 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 4 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.953e-05, allocations: 6.25 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001372/0.001402, allocations: 0.5633 MB / 0.8126 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.749e-05/0.001449, allocations: 4 kB / 0.8126 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.001477, allocations: 0.6875 kB / 0.8126 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.00151, allocations: 0 / 0.8126 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.322e-05/0.001543, allocations: 1.391 kB / 0.8126 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.135e-05/0.001574, allocations: 0 / 0.8126 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.001622, allocations: 2.031 kB / 0.8126 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.00166, allocations: 4 kB / 0.8126 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.00169, allocations: 3.938 kB / 0.8126 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.275e-05/0.001713, allocations: 4 kB / 0.8126 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.001729, allocations: 1.031 kB / 0.8126 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-06/0.001733, allocations: 0 / 0.8126 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.001744, allocations: 0 / 0.8126 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.001758, allocations: 0.7812 kB / 0.8126 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.361e-05/0.001812, allocations: 7.984 kB / 0.8126 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.001814, allocations: 5.625 kB / 0.8126 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001814, allocations: 0 / 0.8126 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.001818, allocations: 0 / 0.8126 GB, free: 0.8633 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.0002587/0.002076, allocations: 336.4 kB / 0.8129 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.002111, allocations: 8.031 kB / 0.8129 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.002133, allocations: 10.47 kB / 0.8129 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.843e-05/0.002202, allocations: 112.6 kB / 0.8131 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.002211, allocations: 384 / 0.8131 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-06/0.002216, allocations: 384 / 0.8131 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.23e-05/0.002268, allocations: 36.02 kB / 0.8131 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.002275, allocations: 4.172 kB / 0.8131 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-06/0.00228, allocations: 384 / 0.8131 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.002285, allocations: 384 / 0.8131 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-06/0.002291, allocations: 4.562 kB / 0.8131 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.002518, allocations: 455.7 kB / 0.8135 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.002597, allocations: 265.5 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.002627, allocations: 130.9 kB / 0.8139 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.002653, allocations: 119.8 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.002691, allocations: 158 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.002692, allocations: 0 / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.078e-05/0.002743, allocations: 41.52 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.002787, allocations: 170.6 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.002929, allocations: 156.5 kB / 0.8145 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.002935, allocations: 25.7 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.002974, allocations: 131.2 kB / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.82e-07/0.002975, allocations: 0 / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.002995, allocations: 15.38 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.003094, allocations: 0.4884 MB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-06/0.003096, allocations: 0.5312 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-06/0.0031, allocations: 0.7188 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.003126, allocations: 119.2 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/0.003149, allocations: 119.7 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.645e-05/0.003185, allocations: 35.3 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.003219, allocations: 123.2 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.003245, allocations: 119.2 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.98e-05/0.003305, allocations: 250.2 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.698e-05/0.003332, allocations: 119.2 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-05/0.003389, allocations: 251 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.003437, allocations: 123.7 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.003461, allocations: 123.2 kB / 0.8165 GB, free: 12.69 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 0.0001107/0.003572, allocations: 391.7 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.003616, allocations: 157.9 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.003665, allocations: 147.9 kB / 0.8172 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-05/0.003722, allocations: 272 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.767e-05/0.003779, allocations: 273.4 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.608e-05/0.003835, allocations: 268.1 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.004136, allocations: 488.5 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/0.004168, allocations: 144.9 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.004198, allocations: 153.4 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.348e-05/0.004251, allocations: 265.2 kB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/0.004312, allocations: 268.1 kB / 0.8192 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.508e-05/0.004367, allocations: 268 kB / 0.8194 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.429e-05/0.004421, allocations: 265 kB / 0.8197 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.004538, allocations: 459.9 kB / 0.8201 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.004575, allocations: 144.9 kB / 0.8203 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.004633, allocations: 268.9 kB / 0.8205 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/0.004682, allocations: 152.8 kB / 0.8207 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.00474, allocations: 274.2 kB / 0.8209 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.004773, allocations: 149.2 kB / 0.8211 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.004809, allocations: 123.2 kB / 0.8212 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.004809, allocations: 0 / 0.8212 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001496/0.004959, allocations: 0 / 0.8212 GB, free: 7.688 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.0001003/0.005059, allocations: 221.2 kB / 0.8214 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.418e-05/0.005093, allocations: 0 / 0.8214 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.005095, allocations: 0 / 0.8214 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.005096, allocations: 3.938 kB / 0.8214 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.005375, allocations: 0.7023 MB / 0.8221 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001615/0.005536, allocations: 204.8 kB / 0.8223 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.763e-05/0.005564, allocations: 60.77 kB / 0.8224 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.503e-06/0.005565, allocations: 0 / 0.8224 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.005589, allocations: 66.2 kB / 0.8224 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.005589, allocations: 0.5 kB / 0.8224 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of Templates: time 0.001166/0.006755, allocations: 175.3 kB / 0.8226 GB, free: 6.211 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_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.027066579088569]