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.001312/0.001312, allocations: 84.52 kB / 19.77 MB, free: 1.875 MB / 14.72 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.001378/0.001378, allocations: 161 kB / 23.01 MB, free: 4.594 MB / 14.72 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.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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.961/2.961, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.88 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.7511, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002251/0.7533, allocations: 1.549 MB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006886/0.754, allocations: 473 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.7541, allocations: 1.062 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.7541, allocations: 9.109 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.526e-05/0.7542, allocations: 5.469 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.7544, allocations: 48.55 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.7545, allocations: 44.28 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.7546, allocations: 12.02 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.7547, allocations: 34.33 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.7547, allocations: 22.16 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.7548, allocations: 4.281 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.625e-05/0.7548, allocations: 7.078 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.7548, allocations: 10.77 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.7548, allocations: 18.36 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.7549, allocations: 49.05 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7549, allocations: 1.281 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7549, allocations: 3.938 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.7549, allocations: 0 / 1.189 GB, free: 14.68 MB / 1.076 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.0004017/0.7553, allocations: 284.7 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.7554, allocations: 8.469 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.7555, allocations: 12.69 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.7556, allocations: 127.8 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.7557, allocations: 3.672 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.7557, allocations: 10.84 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.7559, allocations: 67.83 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7559, allocations: 1.156 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.7559, allocations: 0.6562 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7559, allocations: 1.25 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.7561, allocations: 40.44 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.7564, allocations: 237.6 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.7567, allocations: 63.36 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/0.7568, allocations: 22.75 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.7568, allocations: 1.188 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.113e-05/0.7568, allocations: 32.38 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.7568, allocations: 0 / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0003545/0.7572, allocations: 96.59 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.7572, allocations: 52.59 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.19e-05/0.7572, allocations: 115.3 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.7572, allocations: 30.22 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.7573, allocations: 88.2 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.7573, allocations: 14.75 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.7573, allocations: 17.31 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.479e-05/0.7573, allocations: 319 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.313e-05/0.7574, allocations: 18.12 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.7575, allocations: 21.09 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.7577, allocations: 35.23 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7577, allocations: 0 / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002118/0.7579, allocations: 73.02 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.7579, allocations: 12.16 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.7579, allocations: 0 / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7579, allocations: 1.844 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.758, allocations: 12.3 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.758, allocations: 1.094 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.7581, allocations: 5.344 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.7581, allocations: 1.672 kB / 1.191 GB, free: 13.12 MB / 1.076 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 4.226e-05/0.7581, allocations: 116.7 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.7581, allocations: 6.141 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.7582, allocations: 11.84 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.7582, allocations: 0 / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7582, allocations: 0.6562 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.7582, allocations: 5.344 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.7583, allocations: 118.9 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7583, allocations: 0.8906 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.7584, allocations: 9.5 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7584, allocations: 1.125 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.7584, allocations: 8.641 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7584, allocations: 1.375 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.7584, allocations: 0 / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.7586, allocations: 168.4 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.7586, allocations: 7.422 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.7586, allocations: 1.75 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.7587, allocations: 4.406 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.7587, allocations: 2.375 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.7587, allocations: 2.047 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.995e-05/0.7588, allocations: 94.23 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.7588, allocations: 0 / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000228/0.759, allocations: 6.781 kB / 1.191 GB, free: 12.61 MB / 1.076 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 5.629e-05/0.759, allocations: 105.3 kB / 1.191 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.7593, allocations: 48.05 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.7593, allocations: 0 / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.7594, allocations: 20.64 kB / 1.191 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.7596, allocations: 14.62 kB / 1.191 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.7599, allocations: 142.6 kB / 1.191 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.7599, allocations: 79.67 kB / 1.191 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.76, allocations: 7.641 kB / 1.191 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.76, allocations: 14.48 kB / 1.191 GB, free: 12.26 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.76, allocations: 0 / 1.191 GB, free: 12.26 MB / 1.076 GB Notification: Performance of Templates: time 0.002563/0.7625, allocations: 443.1 kB / 1.192 GB, free: 12.18 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.519948101020418]