Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001412/0.001412, 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.001021/0.001021, 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 1.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.562 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.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 3.938 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.447e-05, allocations: 5.125 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002043/0.002078, allocations: 0.6858 MB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003182, allocations: 0.8592 MB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.003218, allocations: 1.188 kB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.003251, allocations: 0 / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.003324, allocations: 7.938 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.00353, allocations: 10.02 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.882e-05/0.003609, allocations: 27.92 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.806e-05/0.003707, allocations: 3.984 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.003786, allocations: 15.98 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.003825, allocations: 11.92 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.003843, allocations: 5.438 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.966e-05/0.003893, allocations: 7.938 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.003909, allocations: 4 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.003927, allocations: 0 / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.004062, allocations: 32.47 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004064, allocations: 5.281 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004066, allocations: 0 / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.004071, allocations: 0 / 0.8132 GB, free: 15.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005485/0.00462, allocations: 356.7 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.004666, allocations: 9.969 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.004782, allocations: 4.938 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.004884, allocations: 112.6 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.004898, allocations: 384 / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.004912, allocations: 384 / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.00507, allocations: 60.97 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.005082, allocations: 192 / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.005093, allocations: 384 / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.005102, allocations: 384 / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.00514, allocations: 11.88 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.005492, allocations: 248.4 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.005556, allocations: 27.59 kB / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.005587, allocations: 12.47 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.00561, allocations: 0 / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.005635, allocations: 33.92 kB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.005636, allocations: 0 / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.005821, allocations: 59.02 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.005854, allocations: 51.41 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.00594, allocations: 157.9 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.005952, allocations: 30.23 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.006004, allocations: 128.2 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.006027, allocations: 11.94 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.006063, allocations: 15.38 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.006217, allocations: 0.4884 MB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.006235, allocations: 1.156 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.00625, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.006292, allocations: 17 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006295, allocations: 4 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.344e-05/0.006378, allocations: 41.69 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.006394, allocations: 4.906 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.006401, allocations: 3.938 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.006419, allocations: 4.719 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.006515, allocations: 4 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.006521, allocations: 1.156 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.006549, allocations: 7.984 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.006556, allocations: 0 / 0.8151 GB, free: 13.9 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 (2): * Single equations (assignments): 2 * 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 7.606e-05/0.006632, allocations: 157.4 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.006655, allocations: 0 / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.006774, allocations: 54.28 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.006777, allocations: 4 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.006782, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.006786, allocations: 1.125 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.006921, allocations: 120.6 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.006923, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.006972, allocations: 5.938 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006975, allocations: 4 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.006983, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.006986, allocations: 3.938 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.006987, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.007138, allocations: 194.3 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.007145, allocations: 0 / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.007159, allocations: 0 / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.007224, allocations: 11.92 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.007265, allocations: 0 / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.007269, allocations: 0 / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.007315, allocations: 127.7 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007315, allocations: 0 / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002527/0.007568, allocations: 4.688 kB / 0.8157 GB, free: 13.17 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 (2): * Single equations (assignments): 2 * 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.0001245/0.007693, allocations: 95.89 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.007796, allocations: 16.34 kB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.007798, allocations: 3.25 kB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.381e-05/0.007821, allocations: 15.62 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.008137, allocations: 14.59 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.008482, allocations: 114.4 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/0.008527, allocations: 59.34 kB / 0.816 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.008547, allocations: 2.375 kB / 0.816 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.00858, allocations: 8.5 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of SimCode: time 8.01e-07/0.00858, allocations: 3.938 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.002797/0.01138, allocations: 482 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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.3743563066236675]