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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007826/0.007826, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001842/0.001842, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.89 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3526, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003037/0.3557, allocations: 1.527 MB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008576/0.3565, allocations: 439.3 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.3566, allocations: 0 / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.3567, allocations: 7.922 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.587e-05/0.3568, allocations: 7.875 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.357, allocations: 19.92 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.678e-05/0.3571, allocations: 51.83 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3572, allocations: 16 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3574, allocations: 19.92 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.3574, allocations: 23.91 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.3575, allocations: 7.984 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.3575, allocations: 4 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.3575, allocations: 11.94 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.3576, allocations: 23.8 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.3577, allocations: 43.83 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3577, allocations: 0 / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3577, allocations: 3.938 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3577, allocations: 4 kB / 1.21 GB, free: 7.43 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.0005467/0.3582, allocations: 355.3 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3583, allocations: 8.031 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.3583, allocations: 8.844 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3585, allocations: 180.3 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.3585, allocations: 384 / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3586, allocations: 4.375 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3588, allocations: 65.98 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3588, allocations: 3.938 kB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3588, allocations: 4 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3588, allocations: 4 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.359, allocations: 35.97 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.3595, allocations: 292.7 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.3598, allocations: 66.48 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.36, allocations: 20.91 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.36, allocations: 7.984 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.36, allocations: 38.56 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.36, allocations: 0 / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003715/0.3604, allocations: 89.55 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3604, allocations: 55.41 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3606, allocations: 121.7 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.3606, allocations: 29.7 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.3607, allocations: 96.06 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.3607, allocations: 7.906 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.3607, allocations: 17.72 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3609, allocations: 322.8 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.361, allocations: 15.98 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.3611, allocations: 15.98 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3613, allocations: 32.84 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3613, allocations: 0 / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000222/0.3615, allocations: 81.56 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3615, allocations: 7.938 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3615, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3616, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.508e-05/0.3617, allocations: 19.86 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3617, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.3617, allocations: 4 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3617, allocations: 0 / 1.212 GB, free: 5.234 MB / 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.0001031/0.3619, allocations: 121.8 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.3619, allocations: 7.891 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.3619, allocations: 11.91 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3619, allocations: 0 / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.362, allocations: 0 / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.362, allocations: 0 / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.3622, allocations: 181.6 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3622, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.3623, allocations: 4 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3623, allocations: 4 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3623, allocations: 4 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3623, allocations: 3.984 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3623, allocations: 0 / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.3626, allocations: 167.3 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3627, allocations: 85.11 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3627, allocations: 3.984 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.3628, allocations: 4 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3628, allocations: 4 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3628, allocations: 0 / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.3629, allocations: 95.27 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3629, allocations: 0 / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002285/0.3632, allocations: 11.94 kB / 1.212 GB, free: 4.438 MB / 0.9669 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 9.873e-05/0.3633, allocations: 103.5 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3635, allocations: 39.97 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3635, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.3636, allocations: 24.02 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.3639, allocations: 17.58 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.3643, allocations: 154.5 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3646, allocations: 0.6807 MB / 1.213 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.3646, allocations: 7.984 kB / 1.213 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.3646, allocations: 11.44 kB / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3647, allocations: 0 / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of Templates: time 0.002641/0.3673, allocations: 480.7 kB / 1.214 GB, free: 2.883 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches