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.001055/0.001055, 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.001058/0.001058, 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.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.916/1.916, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.326e-06/3.326e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.637e-05, allocations: 6.031 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002125/0.002161, allocations: 0.5689 MB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 5.375e-05/0.002215, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.002249, allocations: 0.875 kB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.002286, allocations: 3.984 kB / 0.8121 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.083e-05/0.002317, allocations: 5.531 kB / 0.8121 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.503e-05/0.002352, allocations: 0 / 0.8121 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.468e-05/0.002416, allocations: 4.328 kB / 0.8121 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.002466, allocations: 3.938 kB / 0.8121 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.002497, allocations: 0.6562 kB / 0.8121 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.478e-05/0.002522, allocations: 4 kB / 0.8121 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.002539, allocations: 4.562 kB / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.379e-06/0.002543, allocations: 1.062 kB / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.002557, allocations: 0 / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.002578, allocations: 0 / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.595e-05/0.002644, allocations: 0.6875 kB / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.002647, allocations: 0 / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.303e-06/0.002648, allocations: 2.406 kB / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.002653, allocations: 0 / 0.8121 GB, free: 1.133 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.0003099/0.002963, allocations: 340.4 kB / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.00301, allocations: 12.03 kB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.003045, allocations: 0.9375 kB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.003146, allocations: 108.6 kB / 0.8126 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.00316, allocations: 1.312 kB / 0.8126 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.003171, allocations: 4.375 kB / 0.8126 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.504e-05/0.003256, allocations: 31.2 kB / 0.8126 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.003268, allocations: 192 / 0.8126 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.003277, allocations: 384 / 0.8126 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.003286, allocations: 1.719 kB / 0.8126 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.003304, allocations: 11.92 kB / 0.8126 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.003622, allocations: 474.2 kB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.003747, allocations: 267.3 kB / 0.8133 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.00379, allocations: 126.9 kB / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.003827, allocations: 127.1 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/0.003885, allocations: 152.6 kB / 0.8137 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.003886, allocations: 0 / 0.8137 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.753e-05/0.003964, allocations: 35.31 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.004029, allocations: 174.6 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.004134, allocations: 153.9 kB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.004146, allocations: 25.7 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.004195, allocations: 128.1 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.004197, allocations: 0 / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.004226, allocations: 23.31 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.004372, allocations: 492.7 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-06/0.004377, allocations: 0.5625 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.004382, allocations: 0.5312 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.884e-05/0.004421, allocations: 119.2 kB / 0.8148 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.464e-05/0.004456, allocations: 120.4 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.472e-05/0.00452, allocations: 37.64 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.004573, allocations: 123.2 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.581e-05/0.004619, allocations: 135.6 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.004751, allocations: 239.8 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-05/0.004783, allocations: 119.2 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.246e-05/0.004835, allocations: 250.5 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.004893, allocations: 123.2 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.004918, allocations: 124.3 kB / 0.816 GB, free: 12.93 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.0001245/0.005043, allocations: 402.9 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.005091, allocations: 145.9 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.005146, allocations: 151.8 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/0.0052, allocations: 272 kB / 0.817 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-05/0.005259, allocations: 268.9 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.978e-05/0.005319, allocations: 272 kB / 0.8175 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.005485, allocations: 0.489 MB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/0.005517, allocations: 148.8 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.00555, allocations: 148.9 kB / 0.8182 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/0.005609, allocations: 269.3 kB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.005675, allocations: 268 kB / 0.8188 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.598e-05/0.005741, allocations: 272 kB / 0.819 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.634e-05/0.005807, allocations: 272.9 kB / 0.8193 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.005957, allocations: 444 kB / 0.8197 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.006, allocations: 154 kB / 0.8198 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-05/0.00608, allocations: 264.1 kB / 0.8201 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.006139, allocations: 156.8 kB / 0.8202 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.00621, allocations: 273.4 kB / 0.8205 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.006244, allocations: 145.2 kB / 0.8206 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.006299, allocations: 119.2 kB / 0.8208 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006299, allocations: 1.438 kB / 0.8208 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001676/0.006466, allocations: 7.938 kB / 0.8208 GB, free: 7.898 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.0001286/0.006595, allocations: 213.3 kB / 0.821 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.832e-05/0.006643, allocations: 4 kB / 0.821 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.006646, allocations: 0 / 0.821 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.006647, allocations: 0 / 0.821 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.006962, allocations: 0.7126 MB / 0.8217 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.007201, allocations: 208.7 kB / 0.8219 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.007234, allocations: 51.36 kB / 0.8219 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.284e-06/0.007236, allocations: 0.5 kB / 0.8219 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.109e-05/0.007248, allocations: 8.5 kB / 0.8219 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/0.007249, allocations: 5.281 kB / 0.8219 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of Templates: time 0.001429/0.008678, allocations: 170.3 kB / 0.8221 GB, free: 6.484 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.24682888109237]