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.001088/0.001088, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001049/0.001049, allocations: 177.3 kB / 15.95 MB, free: 216 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.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 436.5 MB / 0.7104 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003876, allocations: 8 kB / 0.8707 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7673/0.7677, allocations: 153.7 MB / 1.021 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00155/0.7693, allocations: 1.225 MB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005772/0.7699, allocations: 403.5 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.7699, allocations: 4 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.77, allocations: 3.938 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-05/0.77, allocations: 7.984 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.7702, allocations: 19.92 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.7703, allocations: 27.91 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.834e-05/0.7704, allocations: 11.98 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.7705, allocations: 15.92 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.7705, allocations: 23.92 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.7705, allocations: 0 / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.7706, allocations: 7.938 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.7706, allocations: 7.922 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.7706, allocations: 33.7 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.154e-05/0.7707, allocations: 23.94 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.7707, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7707, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.7707, allocations: 4 kB / 1.023 GB, free: 15.36 MB / 0.7794 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.000463/0.7711, allocations: 361.3 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.7712, allocations: 15.98 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.7712, allocations: 7.922 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.7713, allocations: 170.9 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.7714, allocations: 3.938 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.7714, allocations: 4 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.7716, allocations: 73.62 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.7716, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.7716, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.7716, allocations: 4 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.7718, allocations: 47.95 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.7722, allocations: 300.7 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.7725, allocations: 70.55 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.7726, allocations: 8.125 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.7726, allocations: 30.56 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.7726, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003579/0.7729, allocations: 101.7 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.773, allocations: 51.41 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.7731, allocations: 121.8 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.7731, allocations: 29.7 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.7731, allocations: 96.03 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.7732, allocations: 3.906 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.7732, allocations: 0 / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7733, allocations: 322.8 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.7734, allocations: 23.98 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.7735, allocations: 19.98 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.7736, allocations: 20.27 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7736, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002044/0.7738, allocations: 93.48 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7738, allocations: 5.562 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7738, allocations: 0 / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.7738, allocations: 3.938 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.7739, allocations: 11.98 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7739, allocations: 8 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.774, allocations: 15.88 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.774, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 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 7.344e-05/0.7741, allocations: 117.8 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.7741, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.7742, allocations: 15.89 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7742, allocations: 0 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7742, allocations: 0 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7742, allocations: 4 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.7744, allocations: 177.5 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7744, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.7744, allocations: 11.98 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7745, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.7745, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7745, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.7745, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.7747, allocations: 179.5 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.7748, allocations: 84.97 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.7748, allocations: 4 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.7749, allocations: 11.98 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.7749, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.7749, allocations: 4 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.775, allocations: 95.27 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.775, allocations: 0 / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002044/0.7752, allocations: 4 kB / 1.025 GB, free: 12.37 MB / 0.7794 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 8.934e-05/0.7753, allocations: 99.25 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.7755, allocations: 51.89 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7755, allocations: 4 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.7756, allocations: 23.98 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.7758, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.7761, allocations: 164.5 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.7764, allocations: 0.6848 MB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.7764, allocations: 4 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.7765, allocations: 7.438 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.7765, allocations: 0 / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.002098/0.7786, allocations: 418.5 kB / 1.027 GB, free: 10.87 MB / 0.7794 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","../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches