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.001054/0.001054, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 290.9 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 96.14 kB / 0.5952 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1456, allocations: 86.99 MB / 0.6802 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002445/0.1481, allocations: 1.518 MB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006187/0.1487, allocations: 441.8 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.1487, allocations: 0 / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.1488, allocations: 7.922 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.007e-05/0.1488, allocations: 3.938 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.149, allocations: 19.92 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.163e-05/0.1491, allocations: 52.61 kB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1492, allocations: 21.69 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.1493, allocations: 27.86 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.1494, allocations: 16.8 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1494, allocations: 7.938 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.1494, allocations: 4 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.1494, allocations: 16.53 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.1495, allocations: 24.94 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.592e-05/0.1496, allocations: 40.11 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1496, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1496, allocations: 1 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1496, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB 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.0004571/0.15, allocations: 367.8 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.1501, allocations: 8.031 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.1501, allocations: 4.938 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.1502, allocations: 172.3 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1502, allocations: 4.375 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.1503, allocations: 4.375 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1504, allocations: 69.92 kB / 0.6829 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1505, allocations: 0 / 0.6829 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1505, allocations: 3.938 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1505, allocations: 4 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.1507, allocations: 39.97 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.1511, allocations: 296.7 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.1514, allocations: 70.53 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.1515, allocations: 20.84 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.1515, allocations: 0 / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1516, allocations: 34.56 kB / 0.6834 GB, free: 13.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1516, allocations: 0 / 0.6834 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003536/0.1519, allocations: 89.56 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.152, allocations: 59.33 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.1521, allocations: 121.8 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1521, allocations: 25.7 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.1521, allocations: 88.14 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.1522, allocations: 11.89 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.1522, allocations: 13.72 kB / 0.6838 GB, free: 12.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1523, allocations: 318.8 kB / 0.6841 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.1524, allocations: 19.98 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.772e-05/0.1525, allocations: 15.98 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1527, allocations: 40.83 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1527, allocations: 0 / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002274/0.1529, allocations: 77.5 kB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1529, allocations: 11.94 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1529, allocations: 4 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.153, allocations: 4 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.153, allocations: 8 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1531, allocations: 3.984 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.1531, allocations: 4 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1531, allocations: 0 / 0.6842 GB, free: 12.32 MB / 494.1 MB 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 6.872e-05/0.1532, allocations: 115.1 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1532, allocations: 7.906 kB / 0.6844 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.1533, allocations: 16.22 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1533, allocations: 3.938 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1533, allocations: 0 / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1533, allocations: 3.984 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1535, allocations: 177.6 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1535, allocations: 0 / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.1535, allocations: 11.98 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1535, allocations: 0 / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.1536, allocations: 4 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1536, allocations: 4 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1536, allocations: 0 / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1538, allocations: 171.4 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1539, allocations: 85.02 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1539, allocations: 0 / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.154, allocations: 7.984 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1541, allocations: 0 / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1541, allocations: 0 / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.051e-05/0.1541, allocations: 103.3 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1541, allocations: 0 / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1543, allocations: 7.938 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB 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.355e-05/0.1544, allocations: 95.25 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.1547, allocations: 47.89 kB / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1548, allocations: 0 / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/0.1548, allocations: 23.98 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1551, allocations: 8 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.1555, allocations: 134.7 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.1557, allocations: 0.6807 MB / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.1558, allocations: 4 kB / 0.6859 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.1558, allocations: 15.42 kB / 0.6859 GB, free: 10.45 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1558, allocations: 0 / 0.6859 GB, free: 10.45 MB / 494.1 MB Notification: Performance of Templates: time 0.002512/0.1583, allocations: 490.1 kB / 0.6864 GB, free: 9.977 MB / 494.1 MB 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)