Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.00107/0.00107, 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.001744/0.001744, allocations: 181 kB / 23.35 MB, free: 1.137 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.407/2.407, allocations: 438.8 MB / 0.6827 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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.421e-05, allocations: 12.78 kB / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002237/0.002261, allocations: 1.577 MB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.00303, allocations: 498.6 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.003095, allocations: 0 / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.003127, allocations: 7.922 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.003179, allocations: 11.88 kB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.003417, allocations: 39.83 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.003512, allocations: 43.8 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.003594, allocations: 11.98 kB / 0.8407 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.003746, allocations: 47.89 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.901e-05/0.003775, allocations: 11.92 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.003789, allocations: 4 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.929e-05/0.003828, allocations: 15.94 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.00384, allocations: 7.922 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.003858, allocations: 11.98 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.263e-05/0.00395, allocations: 39.89 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003953, allocations: 0 / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003954, allocations: 0 / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003957, allocations: 0 / 0.8408 GB, free: 11.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003027/0.00426, allocations: 264.7 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.004294, allocations: 16.02 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.004386, allocations: 8.938 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.004505, allocations: 125.7 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.004522, allocations: 4.375 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.004534, allocations: 4.375 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.004634, allocations: 62.94 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.004641, allocations: 192 / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.004647, allocations: 384 / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.004654, allocations: 7.938 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.004676, allocations: 19.97 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.004908, allocations: 176.1 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.005021, allocations: 34.55 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.005039, allocations: 12.86 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.00505, allocations: 0 / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.005068, allocations: 38.58 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.005069, allocations: 0 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001003/0.00517, allocations: 45.62 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.005198, allocations: 51.41 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.00525, allocations: 126.6 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.00526, allocations: 25.7 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.005291, allocations: 96.08 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.005308, allocations: 3.953 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.005333, allocations: 17.7 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.005406, allocations: 314.8 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.005417, allocations: 4 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.005426, allocations: 0 / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.005454, allocations: 16.84 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005456, allocations: 3.938 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.675e-05/0.005503, allocations: 45.62 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.005516, allocations: 14.5 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.005519, allocations: 0 / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.00553, allocations: 0 / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.843e-05/0.005568, allocations: 4.328 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-06/0.005571, allocations: 0 / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.005589, allocations: 7.984 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005594, allocations: 0 / 0.8423 GB, free: 10.29 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 (3): * Single equations (assignments): 3 * 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 5.706e-05/0.005651, allocations: 113.8 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.005665, allocations: 3.938 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.005692, allocations: 19.97 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005694, allocations: 4 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005695, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.005698, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.126e-05/0.00578, allocations: 73.83 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005781, allocations: 0 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.005804, allocations: 11.94 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005805, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.00581, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.005812, allocations: 3.938 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005813, allocations: 0 / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.008e-05/0.005893, allocations: 151.5 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.005901, allocations: 7.953 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.005908, allocations: 0 / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.005938, allocations: 7.875 kB / 0.8427 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.00596, allocations: 7.984 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.005963, allocations: 4 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.461e-05/0.005978, allocations: 13.23 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005978, allocations: 3.938 kB / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001114/0.006089, allocations: 4 kB / 0.8427 GB, free: 9.816 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 (3): * Single equations (assignments): 3 * 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 7.607e-05/0.006165, allocations: 80.41 kB / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.516e-05/0.00622, allocations: 20.86 kB / 0.8428 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.006223, allocations: 0 / 0.8428 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.006237, allocations: 12.84 kB / 0.8428 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.006365, allocations: 4.281 kB / 0.8428 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.006714, allocations: 156.3 kB / 0.843 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.249e-05/0.006747, allocations: 55.36 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.00677, allocations: 7.984 kB / 0.843 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.006809, allocations: 51.38 kB / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.006809, allocations: 0 / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of Templates: time 0.00186/0.008669, allocations: 481.1 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.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.294637355022132]