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.008665/0.008665, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001437/0.001437, allocations: 196.7 kB / 16.68 MB, free: 5.926 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.575/2.575, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 59.91 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8257, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002751/0.8285, allocations: 1.53 MB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007136/0.8292, allocations: 442.9 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.8293, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.8294, allocations: 7.922 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.8294, allocations: 7.922 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.8296, allocations: 27.92 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.297e-05/0.8297, allocations: 43.84 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8298, allocations: 16 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.83, allocations: 31.84 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.8301, allocations: 15.92 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.8301, allocations: 4 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.8301, allocations: 4 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.8301, allocations: 15.92 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.8302, allocations: 19.88 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.8303, allocations: 39.86 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8303, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8303, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8304, allocations: 8 kB / 1.21 GB, free: 11.4 MB / 0.9356 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.0007213/0.8311, allocations: 359.2 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.8311, allocations: 8.031 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.8312, allocations: 4.938 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.8314, allocations: 182 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.8314, allocations: 384 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.8314, allocations: 4.375 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.8317, allocations: 73.92 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8317, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.8317, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.8318, allocations: 4 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.832, allocations: 35.97 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.8326, allocations: 304.6 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.833, allocations: 62.55 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.8331, allocations: 24.91 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.8332, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.8332, allocations: 30.56 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.8332, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000444/0.8337, allocations: 97.42 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.8338, allocations: 59.41 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.8339, allocations: 117.8 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.834, allocations: 25.7 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.834, allocations: 84.14 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.8341, allocations: 15.83 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.8341, allocations: 13.72 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8343, allocations: 330.8 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.8344, allocations: 11.98 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.514e-05/0.8345, allocations: 19.98 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.8346, allocations: 32.84 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.8347, allocations: 4 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002268/0.8349, allocations: 77.83 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8349, allocations: 4 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.8349, allocations: 3.984 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.835, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.8351, allocations: 19.98 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.8351, allocations: 3.984 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.8351, allocations: 4 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.8352, allocations: 0 / 1.212 GB, free: 9.207 MB / 0.9356 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 9.609e-05/0.8353, allocations: 117.8 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.8353, allocations: 11.84 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.8353, allocations: 11.89 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8353, allocations: 0 / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8354, allocations: 0 / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.8354, allocations: 0 / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.8355, allocations: 173.6 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8356, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.8356, allocations: 11.98 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8357, allocations: 3.938 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.8357, allocations: 0 / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8357, allocations: 4 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8357, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.8359, allocations: 171.5 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.836, allocations: 81.02 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.836, allocations: 0 / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.8361, allocations: 7.984 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.8362, allocations: 4 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.8362, allocations: 4 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.345e-05/0.8362, allocations: 99.64 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8362, allocations: 0 / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002246/0.8365, allocations: 11.94 kB / 1.212 GB, free: 8.402 MB / 0.9356 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.0001008/0.8366, allocations: 95.19 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.8368, allocations: 47.89 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8368, allocations: 4 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.104e-05/0.8369, allocations: 15.98 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.8372, allocations: 10.19 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.8376, allocations: 146.6 kB / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.838, allocations: 0.6807 MB / 1.213 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.838, allocations: 19.83 kB / 1.213 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.838, allocations: 7.438 kB / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.838, allocations: 0 / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of Templates: time 0.002491/0.8405, allocations: 479.7 kB / 1.214 GB, free: 6.859 MB / 0.9356 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