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.001136/0.001136, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001188/0.001188, allocations: 187 kB / 17.34 MB, free: 5.762 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.15 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.334/2.334, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 59.91 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9614/0.9629, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002486/0.9654, allocations: 1.523 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006359/0.9661, allocations: 443.7 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.9661, allocations: 0 / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.9662, allocations: 6.219 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.175e-05/0.9662, allocations: 5.672 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.9664, allocations: 29.72 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.9665, allocations: 39.75 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.9666, allocations: 22.95 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.9667, allocations: 22.69 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.9668, allocations: 22.62 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.9668, allocations: 3.25 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.9668, allocations: 8.094 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.9668, allocations: 11.97 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.9669, allocations: 21.84 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.473e-05/0.967, allocations: 42.38 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.967, allocations: 0 / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.967, allocations: 0.6094 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.967, allocations: 1.125 kB / 1.091 GB, free: 4.035 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.0004492/0.9675, allocations: 358.7 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.9675, allocations: 13.66 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.9675, allocations: 4.125 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.728e-05/0.9676, allocations: 181.6 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.9677, allocations: 10.41 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.9677, allocations: 3.531 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.9679, allocations: 64.19 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.9679, allocations: 0 / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.9679, allocations: 1.922 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.9679, allocations: 1.125 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.9681, allocations: 43.06 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.9685, allocations: 295.2 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.9689, allocations: 60.47 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.969, allocations: 27.67 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.969, allocations: 0.8125 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.9691, allocations: 32.08 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.9691, allocations: 4.812 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000412/0.9695, allocations: 88.39 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.9695, allocations: 53.16 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.9696, allocations: 123.1 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.9696, allocations: 25.7 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.9697, allocations: 100.8 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.9697, allocations: 9.797 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.9698, allocations: 13.83 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.9698, allocations: 321.7 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.9699, allocations: 17.2 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.171e-05/0.97, allocations: 18.28 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.9702, allocations: 43.28 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9702, allocations: 0 / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002036/0.9704, allocations: 77.36 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.9704, allocations: 5.5 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9705, allocations: 0.7031 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.9705, allocations: 0 / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.9706, allocations: 13.42 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.9706, allocations: 0.7969 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.9706, allocations: 5.812 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.9706, allocations: 0.7969 kB / 1.093 GB, free: 2.242 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 6.231e-05/0.9707, allocations: 117.1 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.9707, allocations: 2.906 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.9708, allocations: 6.562 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9708, allocations: 1.578 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9708, allocations: 4 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9708, allocations: 2.266 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.971, allocations: 183.6 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.971, allocations: 4.781 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.971, allocations: 10.05 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.9711, allocations: 1.125 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.9711, allocations: 3.938 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.9711, allocations: 1.859 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9711, allocations: 3.938 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.9713, allocations: 167.9 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.9714, allocations: 83.59 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.9714, allocations: 1.594 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.9715, allocations: 4.656 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.9715, allocations: 6.562 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.9715, allocations: 1.438 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.625e-05/0.9716, allocations: 93.34 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9716, allocations: 4 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002152/0.9718, allocations: 10.34 kB / 1.093 GB, free: 1.555 MB / 0.8575 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 8.685e-05/0.9719, allocations: 96.44 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.9722, allocations: 43.67 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9722, allocations: 0.7188 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.9723, allocations: 21.05 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.9726, allocations: 10.09 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.9729, allocations: 172.6 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.9731, allocations: 0.6833 MB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.9731, allocations: 11.5 kB / 1.094 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9731, allocations: 3.938 kB / 1.094 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of Templates: time 0.002431/0.9756, allocations: 0.713 MB / 1.095 GB, free: 0.5352 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) "" Variables in the reference:time,cheEqu.y,cheEqu.u1,cheEqu.u2 Variables in the result:cheEqu.u1,cheEqu.u2,cheEqu.y,time