Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007153/0.007153, allocations: 105.5 kB / 15.74 MB, free: 6.488 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.00128/0.00128, allocations: 196 kB / 16.68 MB, free: 6.375 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 286.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9836/0.9836, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 95.84 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1531, allocations: 86.98 MB / 0.7663 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002422/0.1556, allocations: 1.527 MB / 0.7678 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.1563, allocations: 435.5 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.1563, allocations: 0 / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.1564, allocations: 3.938 kB / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.1564, allocations: 19.86 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.1566, allocations: 19.97 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.732e-05/0.1567, allocations: 43.8 kB / 0.7683 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1568, allocations: 19.97 kB / 0.7684 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.1569, allocations: 27.91 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.157, allocations: 15.92 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.157, allocations: 4 kB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.157, allocations: 8 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.157, allocations: 11.94 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.1571, allocations: 23.86 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.1572, allocations: 47.75 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1572, allocations: 0 / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1572, allocations: 0 / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1572, allocations: 4 kB / 0.7685 GB, free: 6.238 MB / 0.5606 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.0004659/0.1577, allocations: 359.3 kB / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1577, allocations: 12.03 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.1577, allocations: 8.844 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1579, allocations: 172.3 kB / 0.769 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1579, allocations: 384 / 0.769 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1579, allocations: 4.375 kB / 0.769 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.1581, allocations: 73.91 kB / 0.7691 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1581, allocations: 0 / 0.7691 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1581, allocations: 0 / 0.7691 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1582, allocations: 4 kB / 0.7691 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.1583, allocations: 43.91 kB / 0.7691 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1588, allocations: 300.7 kB / 0.7694 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1591, allocations: 66.47 kB / 0.7695 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.1592, allocations: 28.91 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1592, allocations: 0 / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.1592, allocations: 30.56 kB / 0.7695 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1593, allocations: 0 / 0.7695 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003458/0.1596, allocations: 81.56 kB / 0.7696 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1597, allocations: 59.41 kB / 0.7697 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.1597, allocations: 125.8 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1598, allocations: 25.7 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.1598, allocations: 84.14 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1598, allocations: 11.81 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1599, allocations: 21.64 kB / 0.7699 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.16, allocations: 322.8 kB / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.761e-05/0.1601, allocations: 11.98 kB / 0.7703 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.1602, allocations: 23.98 kB / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1603, allocations: 36.83 kB / 0.7703 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1603, allocations: 4 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002022/0.1606, allocations: 61.67 kB / 0.7704 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1606, allocations: 4 kB / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1606, allocations: 0 / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1606, allocations: 0 / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.1607, allocations: 23.92 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1607, allocations: 0 / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.1608, allocations: 7.984 kB / 0.7704 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1608, allocations: 0 / 0.7704 GB, free: 4.047 MB / 0.5606 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 7.593e-05/0.1608, allocations: 114.4 kB / 0.7705 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.1609, allocations: 11.84 kB / 0.7705 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.1609, allocations: 7.906 kB / 0.7705 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1609, allocations: 336 / 0.7705 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1609, allocations: 3.938 kB / 0.7705 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1609, allocations: 4 kB / 0.7706 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1611, allocations: 181.5 kB / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1611, allocations: 4 kB / 0.7707 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.191e-05/0.1612, allocations: 15.97 kB / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1612, allocations: 0 / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1612, allocations: 0 / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.1612, allocations: 0 / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1612, allocations: 0 / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1615, allocations: 183.3 kB / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.1615, allocations: 77.11 kB / 0.771 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.1615, allocations: 0 / 0.771 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.1616, allocations: 4 kB / 0.771 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.1617, allocations: 3.984 kB / 0.771 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.1617, allocations: 4 kB / 0.771 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.1617, allocations: 95.27 kB / 0.7711 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1617, allocations: 0 / 0.7711 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002163/0.162, allocations: 15.94 kB / 0.7711 GB, free: 3.238 MB / 0.5606 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 8.411e-05/0.1621, allocations: 95.25 kB / 0.7712 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1623, allocations: 35.97 kB / 0.7712 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1623, allocations: 0 / 0.7712 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.1624, allocations: 23.92 kB / 0.7713 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.1626, allocations: 4 kB / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.163, allocations: 150.6 kB / 0.7714 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.1632, allocations: 0.6846 MB / 0.7721 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.1632, allocations: 0 / 0.7721 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.1633, allocations: 11.44 kB / 0.7721 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1633, allocations: 0 / 0.7721 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.002386/0.1657, allocations: 478 kB / 0.7725 GB, free: 1.719 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)