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.001143/0.001143, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008651/0.008651, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004005, allocations: 7.5 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3343, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001924/0.3363, allocations: 1.258 MB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008863/0.3372, allocations: 430.8 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.3373, allocations: 4 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.3373, allocations: 3.938 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.3374, allocations: 3.938 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.3376, allocations: 19.97 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.686e-05/0.3377, allocations: 43.84 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3378, allocations: 16 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.338, allocations: 23.86 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.338, allocations: 19.91 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.3381, allocations: 7.938 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.3381, allocations: 0 / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.3381, allocations: 7.922 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.3382, allocations: 41.58 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.432e-05/0.3383, allocations: 39.88 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3383, allocations: 0 / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3383, allocations: 0 / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3383, allocations: 0 / 1.061 GB, free: 3.555 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.0005309/0.3389, allocations: 359.7 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3389, allocations: 8.031 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.339, allocations: 8.844 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3391, allocations: 164.3 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.3392, allocations: 4.375 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3392, allocations: 8.312 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.3394, allocations: 81.91 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3394, allocations: 0 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3395, allocations: 0 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3395, allocations: 0 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.3397, allocations: 47.97 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.3401, allocations: 296.7 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.3405, allocations: 78.47 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3406, allocations: 28.91 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3407, allocations: 0 / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3407, allocations: 30.56 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3407, allocations: 0 / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000402/0.3411, allocations: 105.5 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3412, allocations: 55.41 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3413, allocations: 121.8 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3413, allocations: 29.7 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.3414, allocations: 92.08 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3414, allocations: 19.88 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.3414, allocations: 13.7 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3416, allocations: 318.8 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.502e-05/0.3417, allocations: 15.98 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/0.3418, allocations: 27.98 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.342, allocations: 53.09 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.342, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002507/0.3422, allocations: 77.61 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3423, allocations: 7.938 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3423, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3423, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.3424, allocations: 15.98 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3424, allocations: 4 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.3425, allocations: 7.984 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3425, allocations: 0 / 1.062 GB, free: 1.293 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.673e-05/0.3426, allocations: 123.2 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.3426, allocations: 3.906 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.3426, allocations: 11.91 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3427, allocations: 0 / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3427, allocations: 0 / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3427, allocations: 0 / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3429, allocations: 177.6 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3429, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.343, allocations: 19.98 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.343, allocations: 0 / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.343, allocations: 0 / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.343, allocations: 3.984 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.343, allocations: 0 / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.3433, allocations: 191.3 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.3434, allocations: 77.11 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.3434, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.3435, allocations: 8 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3436, allocations: 3.984 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.3436, allocations: 0 / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.3436, allocations: 99.27 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3436, allocations: 0 / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002216/0.3439, allocations: 11.94 kB / 1.063 GB, free: 492 kB / 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.0001253/0.344, allocations: 99.19 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3442, allocations: 47.91 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3443, allocations: 4 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3444, allocations: 23.98 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.3447, allocations: 5.203 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.3451, allocations: 168.7 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3454, allocations: 0.6926 MB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.3454, allocations: 4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3454, allocations: 11.44 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3454, allocations: 0 / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.002514/0.348, allocations: 428.8 kB / 1.065 GB, free: 14.95 MB / 0.8262 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