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.0009636/0.0009636, allocations: 87.58 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.001048/0.001048, allocations: 161 kB / 23.82 MB, free: 0.75 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.9713/0.9713, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.893/1.893, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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 1.583e-06/1.583e-06, allocations: 0 / 0.8115 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.824e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001079/0.001098, allocations: 0.5653 MB / 0.8121 GB, free: 20 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 4.705e-05/0.001145, allocations: 4 kB / 0.8121 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.00117, allocations: 1.031 kB / 0.8121 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.001197, allocations: 0 / 0.8121 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.835e-05/0.001226, allocations: 1.094 kB / 0.8121 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.267e-05/0.001258, allocations: 0.7812 kB / 0.8121 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.001317, allocations: 4 kB / 0.8121 GB, free: 12 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.00136, allocations: 5.688 kB / 0.8121 GB, free: 8 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.001388, allocations: 5.141 kB / 0.8121 GB, free: 4 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.019e-05/0.001408, allocations: 0 / 0.8121 GB, free: 4 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.001427, allocations: 0 / 0.8121 GB, free: 4 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-06/0.001431, allocations: 1.531 kB / 0.8121 GB, free: 4 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.001444, allocations: 0 / 0.8121 GB, free: 4 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.00146, allocations: 3.938 kB / 0.8121 GB, free: 0 / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.998e-05/0.00154, allocations: 7.984 kB / 0.8121 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.001542, allocations: 0 / 0.8121 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.513e-06/0.001544, allocations: 1.188 kB / 0.8121 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.001548, allocations: 0 / 0.8121 GB, free: 15.99 MB / 0.7292 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.0002682/0.001816, allocations: 344.4 kB / 0.8125 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.001857, allocations: 9.625 kB / 0.8125 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.001891, allocations: 0.9375 kB / 0.8125 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.922e-05/0.00198, allocations: 108.6 kB / 0.8126 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.001992, allocations: 4.359 kB / 0.8126 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.002, allocations: 1.094 kB / 0.8126 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.443e-05/0.002075, allocations: 30.8 kB / 0.8126 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-06/0.002082, allocations: 192 / 0.8126 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.00209, allocations: 2.031 kB / 0.8126 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.002098, allocations: 384 / 0.8126 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.181e-05/0.002109, allocations: 7.875 kB / 0.8126 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.002372, allocations: 470.2 kB / 0.8131 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.00247, allocations: 270.1 kB / 0.8133 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.002507, allocations: 127.9 kB / 0.8135 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.002536, allocations: 119.2 kB / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.002584, allocations: 160.5 kB / 0.8137 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.002584, allocations: 5.156 kB / 0.8137 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.217e-05/0.002637, allocations: 29.64 kB / 0.8138 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.002699, allocations: 170.6 kB / 0.8139 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/0.002774, allocations: 151.3 kB / 0.8141 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.002783, allocations: 25.7 kB / 0.8141 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.002823, allocations: 130.9 kB / 0.8142 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.002826, allocations: 5.734 kB / 0.8142 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.002844, allocations: 15.38 kB / 0.8142 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.002961, allocations: 496.1 kB / 0.8147 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-06/0.002967, allocations: 4 kB / 0.8147 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.002971, allocations: 9.938 kB / 0.8147 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.003001, allocations: 123.1 kB / 0.8148 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/0.003031, allocations: 119.2 kB / 0.8149 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.214e-05/0.003063, allocations: 29.7 kB / 0.815 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.003099, allocations: 123.2 kB / 0.8151 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/0.00313, allocations: 123.1 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.045e-05/0.003201, allocations: 246.9 kB / 0.8154 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.118e-05/0.003232, allocations: 121.7 kB / 0.8156 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.158e-05/0.003293, allocations: 250.4 kB / 0.8158 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.003342, allocations: 119.2 kB / 0.8159 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.00337, allocations: 127.2 kB / 0.816 GB, free: 11.8 MB / 0.7292 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.0001268/0.003497, allocations: 391 kB / 0.8164 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.003545, allocations: 152.8 kB / 0.8166 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.003593, allocations: 153.6 kB / 0.8167 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-05/0.003655, allocations: 272 kB / 0.817 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-05/0.003723, allocations: 268.1 kB / 0.8172 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.045e-05/0.003793, allocations: 268.1 kB / 0.8175 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.003978, allocations: 0.4921 MB / 0.818 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/0.004022, allocations: 149.4 kB / 0.8181 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.004061, allocations: 149.4 kB / 0.8182 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.227e-05/0.004133, allocations: 264.1 kB / 0.8185 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.004206, allocations: 277.8 kB / 0.8188 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.739e-05/0.004273, allocations: 268 kB / 0.819 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.107e-05/0.004344, allocations: 268.1 kB / 0.8193 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.004489, allocations: 444 kB / 0.8197 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.004537, allocations: 152.8 kB / 0.8198 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.004616, allocations: 274.7 kB / 0.8201 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.616e-05/0.004672, allocations: 148.8 kB / 0.8202 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.004749, allocations: 272 kB / 0.8205 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.00479, allocations: 149.2 kB / 0.8206 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.004834, allocations: 119.2 kB / 0.8208 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004834, allocations: 0 / 0.8208 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000153/0.004987, allocations: 1.125 kB / 0.8208 GB, free: 6.77 MB / 0.7292 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.0001056/0.005092, allocations: 215.2 kB / 0.821 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.451e-05/0.005137, allocations: 11.92 kB / 0.821 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005139, allocations: 0.5625 kB / 0.821 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.00514, allocations: 3.938 kB / 0.821 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.005437, allocations: 0.7031 MB / 0.8217 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.005644, allocations: 216.2 kB / 0.8219 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.005676, allocations: 51.36 kB / 0.8219 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.804e-06/0.005678, allocations: 0 / 0.8219 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.048e-05/0.005689, allocations: 8.5 kB / 0.8219 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.005689, allocations: 0 / 0.8219 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of Templates: time 0.001392/0.007081, allocations: 173.1 kB / 0.8221 GB, free: 5.344 MB / 0.7292 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: 4.986750905402005]