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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001621/0.001621, allocations: 105.4 kB / 16.36 MB, free: 6.293 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.001888/0.001888, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.449/2.449, allocations: 442.6 MB / 0.7165 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 65.62 kB / 0.8773 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2741, allocations: 153 MB / 1.027 GB, free: 2.145 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002504/0.2766, allocations: 1.536 MB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006481/0.2773, allocations: 446.7 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.2773, allocations: 4 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.2773, allocations: 3.938 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.2774, allocations: 7.938 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.2776, allocations: 31.89 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.843e-05/0.2777, allocations: 43.8 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2778, allocations: 19.98 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.2779, allocations: 23.92 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.278, allocations: 23.91 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.278, allocations: 4 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.278, allocations: 4.125 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.2781, allocations: 11.94 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.2781, allocations: 19.86 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.574e-05/0.2782, allocations: 47.69 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2782, allocations: 0 / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2782, allocations: 0 / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2782, allocations: 0 / 1.029 GB, free: 15.92 MB / 0.8106 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.0004829/0.2787, allocations: 359.4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2788, allocations: 8.031 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.2788, allocations: 8.844 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2789, allocations: 176.2 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.279, allocations: 4.375 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.279, allocations: 4.375 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.2792, allocations: 69.91 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2792, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2792, allocations: 4 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2792, allocations: 0 / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.2794, allocations: 39.97 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.2798, allocations: 292.7 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.2801, allocations: 66.53 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.2802, allocations: 24.91 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2803, allocations: 4.062 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2803, allocations: 34.5 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2803, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003377/0.2806, allocations: 93.78 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.2807, allocations: 51.41 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.2808, allocations: 121.8 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2808, allocations: 25.7 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.2808, allocations: 99.98 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.2808, allocations: 3.906 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.2809, allocations: 17.7 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.281, allocations: 322.8 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.2811, allocations: 15.98 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.2811, allocations: 23.92 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2813, allocations: 40.77 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2813, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001953/0.2815, allocations: 69.58 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2815, allocations: 8 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2815, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2816, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.2816, allocations: 7.984 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2817, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.2817, allocations: 7.984 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2817, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 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 8.601e-05/0.2818, allocations: 117.7 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.2819, allocations: 11.94 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.2819, allocations: 7.906 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2819, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.2819, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2819, allocations: 4 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.2821, allocations: 177.5 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2822, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.2822, allocations: 11.98 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2822, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.2823, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2823, allocations: 3.938 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2823, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.2825, allocations: 167.5 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.2826, allocations: 81.02 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2826, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.2827, allocations: 8 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.2828, allocations: 3.984 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2828, allocations: 11.94 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.2828, allocations: 95.64 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2828, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000236/0.2831, allocations: 11.94 kB / 1.031 GB, free: 12.91 MB / 0.8106 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.0001046/0.2832, allocations: 103.1 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.2834, allocations: 35.97 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2834, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/0.2835, allocations: 27.98 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.2838, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.2842, allocations: 143.1 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2844, allocations: 0.6846 MB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.2844, allocations: 7.984 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.2844, allocations: 11.44 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2844, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.002374/0.2868, allocations: 478.1 kB / 1.033 GB, free: 11.38 MB / 0.8106 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches