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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007363/0.0007364, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008857/0.0008858, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 8 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8256, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002048/0.8277, allocations: 1.221 MB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.8287, allocations: 411.8 kB / 0.956 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.8288, allocations: 1.094 kB / 0.956 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.8289, allocations: 0 / 0.956 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.205e-05/0.829, allocations: 5.312 kB / 0.956 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.8292, allocations: 20.66 kB / 0.956 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.8293, allocations: 38.17 kB / 0.9561 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.8295, allocations: 18.75 kB / 0.9561 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.8296, allocations: 22.42 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.8297, allocations: 13.89 kB / 0.9561 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.8297, allocations: 5.172 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.317e-05/0.8298, allocations: 2.062 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.8298, allocations: 12.97 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.8298, allocations: 31.83 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.666e-05/0.8299, allocations: 23.45 kB / 0.9562 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.8299, allocations: 3.984 kB / 0.9562 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8299, allocations: 0.9062 kB / 0.9562 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.83, allocations: 3.938 kB / 0.9562 GB, free: 6.258 MB / 0.7169 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.0004409/0.8304, allocations: 360.9 kB / 0.9565 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8304, allocations: 16.41 kB / 0.9566 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.8305, allocations: 6.891 kB / 0.9566 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.618e-05/0.8306, allocations: 173.8 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.8306, allocations: 1.406 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.8306, allocations: 6.812 kB / 0.9567 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.8309, allocations: 70.36 kB / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.8309, allocations: 1.188 kB / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.8309, allocations: 0 / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.8309, allocations: 5.188 kB / 0.9568 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.8311, allocations: 58.66 kB / 0.9569 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.8316, allocations: 296.9 kB / 0.9571 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.8319, allocations: 71 kB / 0.9572 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.832, allocations: 31.19 kB / 0.9572 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.832, allocations: 3.938 kB / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.832, allocations: 35.7 kB / 0.9573 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.8321, allocations: 0 / 0.9573 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003756/0.8324, allocations: 98.16 kB / 0.9574 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.8325, allocations: 52.38 kB / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.8326, allocations: 125.9 kB / 0.9575 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.8326, allocations: 25.7 kB / 0.9576 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.8326, allocations: 89.89 kB / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.8327, allocations: 10 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.8327, allocations: 0 / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.8327, allocations: 319.9 kB / 0.958 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.8328, allocations: 21.17 kB / 0.958 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.8329, allocations: 25.89 kB / 0.958 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.833, allocations: 24.8 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.833, allocations: 4 kB / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002085/0.8332, allocations: 78.89 kB / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.8333, allocations: 9.797 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8333, allocations: 0 / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8333, allocations: 1.5 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.8334, allocations: 12.61 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.8334, allocations: 4 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.8335, allocations: 13.67 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.8335, allocations: 4 kB / 0.9582 GB, free: 4.355 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.671e-05/0.8335, allocations: 113.2 kB / 0.9583 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.8336, allocations: 2.375 kB / 0.9583 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.8336, allocations: 13.02 kB / 0.9583 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.8336, allocations: 1.281 kB / 0.9583 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8336, allocations: 3.938 kB / 0.9583 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8336, allocations: 4.328 kB / 0.9583 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.8338, allocations: 171.4 kB / 0.9585 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.8338, allocations: 0 / 0.9585 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.8339, allocations: 13.86 kB / 0.9585 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.8339, allocations: 0 / 0.9585 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.8339, allocations: 3.984 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.8339, allocations: 5.422 kB / 0.9585 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8339, allocations: 0 / 0.9585 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.8342, allocations: 180.5 kB / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.8342, allocations: 82.64 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.8342, allocations: 1.75 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.8343, allocations: 5.469 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.8344, allocations: 11.94 kB / 0.9588 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.8344, allocations: 1.875 kB / 0.9588 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.8344, allocations: 96.33 kB / 0.9588 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8344, allocations: 3.938 kB / 0.9588 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000218/0.8347, allocations: 7.219 kB / 0.9589 GB, free: 3.637 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.456e-05/0.8348, allocations: 97.41 kB / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.835, allocations: 53.78 kB / 0.959 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.835, allocations: 0 / 0.959 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.8351, allocations: 20.95 kB / 0.959 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.8354, allocations: 7.312 kB / 0.959 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.8357, allocations: 162.9 kB / 0.9592 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.8358, allocations: 0.6851 MB / 0.9599 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.8359, allocations: 2.75 kB / 0.9599 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.8359, allocations: 8.781 kB / 0.9599 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8359, allocations: 0 / 0.9599 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of Templates: time 0.002557/0.8385, allocations: 416.8 kB / 0.9603 GB, free: 2.438 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches