Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 113.9 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 190.3 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7646 GB, free: 9.863 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 67.89 kB / 1.109 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7597/0.7619, allocations: 168.8 MB / 1.274 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002822/0.7647, allocations: 1.532 MB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000772/0.7655, allocations: 448.5 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.7656, allocations: 4 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.7656, allocations: 3.938 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.7656, allocations: 7.875 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.7658, allocations: 27.95 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.7659, allocations: 47.8 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.766, allocations: 19.97 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.7661, allocations: 23.92 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.7662, allocations: 15.92 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.7662, allocations: 4 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.7662, allocations: 4 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.7662, allocations: 23.84 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.7663, allocations: 19.88 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.7664, allocations: 34.56 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7664, allocations: 0 / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7664, allocations: 0 / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.7664, allocations: 0 / 1.276 GB, free: 2.059 MB / 0.9669 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.0005195/0.7669, allocations: 293.9 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.7669, allocations: 8.031 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.767, allocations: 16.77 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.7671, allocations: 114.4 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.7671, allocations: 4.359 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.7671, allocations: 8.375 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.7673, allocations: 65.97 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.7673, allocations: 8 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.7674, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.7674, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.7675, allocations: 43.91 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.768, allocations: 259.9 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.7683, allocations: 62.55 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.7684, allocations: 24.91 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.7684, allocations: 0 / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.7684, allocations: 34.5 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.7684, allocations: 0 / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003616/0.7688, allocations: 93.59 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.7688, allocations: 55.41 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.7689, allocations: 121.8 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.769, allocations: 25.7 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.769, allocations: 88.12 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.769, allocations: 11.95 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.7691, allocations: 9.719 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7692, allocations: 330.8 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.7693, allocations: 15.98 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.7694, allocations: 19.92 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.7695, allocations: 36.84 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7695, allocations: 0 / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002137/0.7698, allocations: 77.61 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.7698, allocations: 8 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.7698, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7698, allocations: 3.938 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.7699, allocations: 11.98 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.7699, allocations: 3.938 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.7699, allocations: 4 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.7699, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 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 0.0001286/0.7701, allocations: 125.7 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.7701, allocations: 7.953 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.7701, allocations: 8.328 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7702, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7702, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7702, allocations: 3.984 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.7705, allocations: 156.7 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7705, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/0.7706, allocations: 8 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7706, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.7706, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.7706, allocations: 3.984 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7706, allocations: 4 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.7709, allocations: 167.4 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-06/0.7709, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.771, allocations: 3.984 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.771, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.7711, allocations: 3.938 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.7711, allocations: 12 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.7712, allocations: 91.27 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7712, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002288/0.7714, allocations: 15.88 kB / 1.279 GB, free: 15.38 MB / 0.9825 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 0.0001041/0.7715, allocations: 95.23 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.7717, allocations: 39.97 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7717, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.826e-05/0.7718, allocations: 19.98 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.7721, allocations: 7.938 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.7725, allocations: 146.8 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.7728, allocations: 0.6846 MB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.7728, allocations: 7.984 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.7729, allocations: 15.38 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.7729, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of Templates: time 0.002926/0.7758, allocations: 0.49 MB / 1.28 GB, free: 13.82 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.616938166320324]