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.001052/0.001052, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001403/0.001403, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 266.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.92/0.92, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 16.19 kB / 0.5986 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.00169/0.1489, allocations: 1.25 MB / 0.6863 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006632/0.1496, allocations: 414.3 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.1497, allocations: 4 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.1497, allocations: 0 / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.1498, allocations: 5.844 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.15, allocations: 27.91 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.739e-05/0.1501, allocations: 47.84 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1503, allocations: 14.52 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1504, allocations: 19.92 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.1504, allocations: 19.91 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1505, allocations: 4 kB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.1505, allocations: 0.5 kB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.1505, allocations: 9.031 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.1506, allocations: 45.56 kB / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.843e-05/0.1507, allocations: 40.09 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1507, allocations: 5.5 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1507, allocations: 0 / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1507, allocations: 0 / 0.687 GB, free: 13.18 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.0004816/0.1512, allocations: 357.9 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1512, allocations: 8.031 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.1513, allocations: 8.844 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1514, allocations: 168.2 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.1514, allocations: 5 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1515, allocations: 4.375 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1517, allocations: 77.25 kB / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1517, allocations: 0 / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1517, allocations: 0 / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1517, allocations: 3.938 kB / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1519, allocations: 53.72 kB / 0.6876 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.1524, allocations: 298.3 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.1527, allocations: 73.22 kB / 0.688 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.1528, allocations: 32.91 kB / 0.688 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1528, allocations: 0 / 0.688 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1529, allocations: 34.5 kB / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1529, allocations: 0 / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003858/0.1533, allocations: 97.66 kB / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1533, allocations: 55.41 kB / 0.6882 GB, free: 11.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.1534, allocations: 121.8 kB / 0.6883 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1534, allocations: 25.7 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.1535, allocations: 88.2 kB / 0.6884 GB, free: 11.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1535, allocations: 15.81 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.1536, allocations: 13.72 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1537, allocations: 322.8 kB / 0.6887 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.514e-05/0.1538, allocations: 19.98 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.1539, allocations: 23.92 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1541, allocations: 52.83 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1541, allocations: 0 / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002149/0.1543, allocations: 73.95 kB / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1543, allocations: 4 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1544, allocations: 4 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1544, allocations: 0 / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.1545, allocations: 16.03 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1545, allocations: 3.984 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.1545, allocations: 15.83 kB / 0.689 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1546, allocations: 3.984 kB / 0.689 GB, free: 10.93 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 9.396e-05/0.1547, allocations: 119 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.1547, allocations: 4 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.1547, allocations: 11.91 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1547, allocations: 0 / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1547, allocations: 7.938 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1548, allocations: 0 / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1549, allocations: 181.5 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.155, allocations: 0 / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.155, allocations: 8 kB / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.155, allocations: 3.984 kB / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1551, allocations: 0 / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1551, allocations: 4 kB / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1551, allocations: 0 / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1553, allocations: 179.4 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.1554, allocations: 81.09 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1554, allocations: 4 kB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.1555, allocations: 8 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1555, allocations: 7.922 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1556, allocations: 0 / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.807e-05/0.1556, allocations: 99.27 kB / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1556, allocations: 0 / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000214/0.1558, allocations: 11.84 kB / 0.6897 GB, free: 10.12 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.849e-05/0.1559, allocations: 99.25 kB / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.1562, allocations: 47.97 kB / 0.6898 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1562, allocations: 0 / 0.6898 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1563, allocations: 19.98 kB / 0.6898 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1566, allocations: 13.89 kB / 0.6898 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.157, allocations: 179.4 kB / 0.69 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.1572, allocations: 0.6848 MB / 0.6907 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.197e-05/0.1573, allocations: 4 kB / 0.6907 GB, free: 9.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.1573, allocations: 11.44 kB / 0.6907 GB, free: 9.008 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1573, allocations: 0 / 0.6907 GB, free: 9.008 MB / 494.1 MB Notification: Performance of Templates: time 0.002266/0.1596, allocations: 423.2 kB / 0.6911 GB, free: 8.598 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)