Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009931/0.0009931, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001412/0.001412, allocations: 181 kB / 23.36 MB, free: 1.133 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.574/2.574, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.559e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001369/0.001395, allocations: 0.6211 MB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 4.283e-05/0.001438, allocations: 3.984 kB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.001464, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.381e-05/0.001488, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.094e-05/0.001519, allocations: 3.938 kB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.991e-05/0.001549, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.001598, allocations: 4 kB / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.001638, allocations: 3.984 kB / 0.8393 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/0.001666, allocations: 0 / 0.8393 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.348e-05/0.001689, allocations: 7.938 kB / 0.8393 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.001703, allocations: 4 kB / 0.8393 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.001711, allocations: 4 kB / 0.8393 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.001725, allocations: 0 / 0.8393 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.29e-05/0.001738, allocations: 0 / 0.8393 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.156e-05/0.001789, allocations: 0 / 0.8393 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.001793, allocations: 0 / 0.8393 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.72e-07/0.001793, allocations: 0 / 0.8393 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.001798, allocations: 0 / 0.8393 GB, free: 13.54 MB / 0.8073 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.0001881/0.001986, allocations: 213.1 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.002016, allocations: 8.625 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.829e-05/0.002035, allocations: 0.9375 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.556e-05/0.00211, allocations: 109.8 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.002119, allocations: 4.375 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-06/0.002123, allocations: 384 / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.276e-05/0.002176, allocations: 30.25 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.002182, allocations: 192 / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.002188, allocations: 4.312 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.002193, allocations: 4.375 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-06/0.0022, allocations: 3.938 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.002434, allocations: 290.9 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.215e-05/0.002496, allocations: 173.2 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.002518, allocations: 88.08 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.002535, allocations: 75.28 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.002565, allocations: 105.8 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.002566, allocations: 0 / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.699e-05/0.002613, allocations: 33.69 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.002659, allocations: 134.6 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.893e-05/0.002708, allocations: 94.72 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.002716, allocations: 29.7 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.002744, allocations: 84.14 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-07/0.002744, allocations: 0 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.00276, allocations: 9.844 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.002825, allocations: 318.8 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-06/0.002829, allocations: 7.938 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-06/0.002831, allocations: 0 / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.008e-05/0.002851, allocations: 75.28 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.002866, allocations: 75.28 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.46e-05/0.002901, allocations: 37.69 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.002924, allocations: 79.28 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.002943, allocations: 79.22 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/0.002983, allocations: 154.6 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.003002, allocations: 79.22 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001642/0.003166, allocations: 158.5 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.003206, allocations: 79.31 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.003223, allocations: 87.22 kB / 0.8419 GB, free: 10.71 MB / 0.8073 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 7.25e-05/0.003295, allocations: 260.4 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.003331, allocations: 109 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.003365, allocations: 104 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/0.003403, allocations: 180.2 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-05/0.003443, allocations: 184.2 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.052e-05/0.003484, allocations: 184.2 kB / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.003604, allocations: 313.5 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/0.003628, allocations: 109 kB / 0.8432 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.003652, allocations: 104.9 kB / 0.8433 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-05/0.003693, allocations: 184.2 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.003733, allocations: 184.2 kB / 0.8437 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.682e-05/0.00377, allocations: 176.3 kB / 0.8439 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.72e-05/0.003807, allocations: 180.6 kB / 0.844 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.382e-05/0.003891, allocations: 315.7 kB / 0.8443 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.003917, allocations: 104.9 kB / 0.8444 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.003963, allocations: 180.3 kB / 0.8446 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.004004, allocations: 105 kB / 0.8447 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.004046, allocations: 188.1 kB / 0.8449 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.004069, allocations: 109 kB / 0.845 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.377e-06/0.004079, allocations: 8.797 kB / 0.845 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004079, allocations: 0 / 0.845 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001268/0.004205, allocations: 0 / 0.845 GB, free: 7.312 MB / 0.8073 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 8.409e-05/0.00429, allocations: 151.7 kB / 0.8452 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 2.793e-05/0.004318, allocations: 3.938 kB / 0.8452 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.00432, allocations: 0 / 0.8452 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.004321, allocations: 4 kB / 0.8452 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.004799, allocations: 464.3 kB / 0.8456 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001478/0.004947, allocations: 159 kB / 0.8458 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.742e-05/0.004975, allocations: 51.36 kB / 0.8458 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.713e-06/0.004976, allocations: 0 / 0.8458 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.004996, allocations: 47.38 kB / 0.8458 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of SimCode: time 4.01e-07/0.004996, allocations: 0 / 0.8458 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of Templates: time 0.001233/0.006229, allocations: 176.4 kB / 0.846 GB, free: 6.227 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.42418948514387]