Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007142/0.007142, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001625, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.89 kB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3417, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00295/0.3447, allocations: 1.524 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008011/0.3456, allocations: 439 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.3456, allocations: 4 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.3457, allocations: 3.938 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.3457, allocations: 11.88 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.346, allocations: 27.91 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.3461, allocations: 43.84 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3463, allocations: 19.98 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3464, allocations: 23.92 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.3464, allocations: 27.86 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3465, allocations: 7.984 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.3465, allocations: 4 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3465, allocations: 4 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.3466, allocations: 19.86 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.3467, allocations: 47.77 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3467, allocations: 3.938 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3467, allocations: 0 / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3467, allocations: 0 / 1.169 GB, free: 4.613 MB / 0.92 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.0006247/0.3474, allocations: 363.3 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3474, allocations: 12.03 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3475, allocations: 4.891 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3476, allocations: 176.3 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.3477, allocations: 4.375 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3477, allocations: 4.375 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.3479, allocations: 65.97 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3479, allocations: 4 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3479, allocations: 7.984 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3479, allocations: 0 / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.3481, allocations: 47.91 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.3486, allocations: 284.8 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.349, allocations: 74.41 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.3491, allocations: 24.91 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3491, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3491, allocations: 34.56 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.3492, allocations: 0 / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004285/0.3496, allocations: 85.66 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3496, allocations: 51.41 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3498, allocations: 125.8 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.3498, allocations: 25.7 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.3499, allocations: 96.09 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.3499, allocations: 3.953 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.35, allocations: 21.7 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3501, allocations: 322.7 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.3502, allocations: 19.92 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.3503, allocations: 19.98 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3504, allocations: 36.83 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3504, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002069/0.3507, allocations: 69.62 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3507, allocations: 8 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3507, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3507, allocations: 4 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.3508, allocations: 7.984 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3508, allocations: 7.938 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.3509, allocations: 11.92 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3509, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 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.0001041/0.351, allocations: 113.8 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.351, allocations: 11.95 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.3511, allocations: 7.906 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3511, allocations: 0 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3511, allocations: 0 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3511, allocations: 4 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3513, allocations: 177.6 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3513, allocations: 0 / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.3514, allocations: 15.92 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3514, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3514, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.3514, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3514, allocations: 4 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3517, allocations: 179.7 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.3517, allocations: 77.11 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3518, allocations: 0 / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.3518, allocations: 8 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.3519, allocations: 7.984 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3519, allocations: 4 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.177e-05/0.352, allocations: 91.27 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.352, allocations: 0 / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002162/0.3522, allocations: 11.94 kB / 1.171 GB, free: 1.605 MB / 0.92 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.0001062/0.3523, allocations: 95.25 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.3525, allocations: 39.97 kB / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3526, allocations: 0 / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.3527, allocations: 27.92 kB / 1.171 GB, free: 1.438 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.353, allocations: 4 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.3534, allocations: 138.5 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.3537, allocations: 0.6884 MB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.3537, allocations: 4 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.3538, allocations: 15.44 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3538, allocations: 0 / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of Templates: time 0.002624/0.3564, allocations: 479.9 kB / 1.173 GB, free: 76 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches