Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 114.3 kB / 16.42 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001626, allocations: 183.7 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8635, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002408/0.8659, allocations: 1.522 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006468/0.8666, allocations: 438.9 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.8667, allocations: 1.125 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.8667, allocations: 4.875 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.266e-05/0.8667, allocations: 9.078 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.8669, allocations: 30.52 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.358e-05/0.867, allocations: 40.5 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.8672, allocations: 13.94 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.8673, allocations: 27.47 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.8673, allocations: 26.23 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.8674, allocations: 8.156 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.8674, allocations: 7.562 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.8674, allocations: 7.219 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.8675, allocations: 22.27 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.8676, allocations: 46.34 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.8676, allocations: 0.75 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8676, allocations: 0 / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8676, allocations: 1.438 kB / 1.091 GB, free: 4.039 MB / 0.8575 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.000429/0.868, allocations: 358.4 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.8681, allocations: 13.09 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.8681, allocations: 3.094 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.617e-05/0.8682, allocations: 179 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.8682, allocations: 1.5 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.8682, allocations: 4.578 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.8684, allocations: 68.08 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.8685, allocations: 0 / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.8685, allocations: 5 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8685, allocations: 1.359 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.8687, allocations: 43.78 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.8691, allocations: 299.5 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.8694, allocations: 60.03 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.8695, allocations: 27.8 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.8695, allocations: 0.6875 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.8696, allocations: 31.81 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.8696, allocations: 3.938 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000374/0.87, allocations: 88.97 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.87, allocations: 52.19 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.8701, allocations: 127.3 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.8701, allocations: 30.83 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.8701, allocations: 91.89 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.8701, allocations: 9.734 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.8702, allocations: 18.19 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.8702, allocations: 317.9 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-05/0.8703, allocations: 17.62 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.8704, allocations: 22.48 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.8706, allocations: 46.75 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8706, allocations: 0.9062 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000204/0.8708, allocations: 67.75 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.8708, allocations: 9.344 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.8708, allocations: 0.6562 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.8709, allocations: 1 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.8709, allocations: 14.52 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.871, allocations: 0 / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/0.871, allocations: 4.875 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.871, allocations: 6.078 kB / 1.093 GB, free: 2.238 MB / 0.8575 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.387e-05/0.8711, allocations: 113.3 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.8711, allocations: 2.562 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.8712, allocations: 10.2 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.8712, allocations: 0 / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8712, allocations: 0.75 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.8712, allocations: 88.05 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.8712, allocations: 5.094 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.8713, allocations: 8.109 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.8714, allocations: 3.547 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002592/0.8716, allocations: 145.5 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002407/0.8719, allocations: 248.1 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001025/0.872, allocations: 23.8 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.8721, allocations: 100.3 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of Backend: time 3.11e-07/0.8721, allocations: 0.7188 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.8725, allocations: 97.98 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003968/0.8729, allocations: 0.5911 MB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of Templates: time 0.002896/0.8758, allocations: 0.6058 MB / 1.095 GB, free: 0.8281 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches