Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008999/0.0009001, allocations: 96.19 kB / 15.68 MB, free: 488 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.0009266/0.0009267, allocations: 174.2 kB / 16.56 MB, free: 6.391 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.265/1.265, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6885/0.6885, allocations: 113.8 MB / 405.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004561, allocations: 8.906 kB / 493 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1435, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.001556/0.1451, allocations: 1.225 MB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005628/0.1456, allocations: 395.5 kB / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.1457, allocations: 0 / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.1457, allocations: 7.922 kB / 0.5584 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.1458, allocations: 4 kB / 0.5584 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.1459, allocations: 23.91 kB / 0.5584 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.146, allocations: 19.97 kB / 0.5585 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.678e-05/0.1461, allocations: 16 kB / 0.5585 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.1462, allocations: 19.91 kB / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.1463, allocations: 23.86 kB / 0.5585 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.1463, allocations: 0 / 0.5585 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.1463, allocations: 4 kB / 0.5585 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.1463, allocations: 3.984 kB / 0.5585 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.1463, allocations: 37.64 kB / 0.5586 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.273e-05/0.1464, allocations: 23.95 kB / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1464, allocations: 0 / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1464, allocations: 0 / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1464, allocations: 0 / 0.5586 GB, free: 9.793 MB / 430.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.0004278/0.1469, allocations: 351.5 kB / 0.5589 GB, free: 9.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1469, allocations: 16.02 kB / 0.5589 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.1469, allocations: 3.906 kB / 0.5589 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.147, allocations: 182.9 kB / 0.5591 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1471, allocations: 4 kB / 0.5591 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1471, allocations: 4 kB / 0.5591 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1473, allocations: 61.67 kB / 0.5592 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1473, allocations: 3.953 kB / 0.5592 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.1473, allocations: 0 / 0.5592 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1473, allocations: 4 kB / 0.5592 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.1475, allocations: 55.91 kB / 0.5592 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.1479, allocations: 292.7 kB / 0.5595 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.1482, allocations: 78.42 kB / 0.5596 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1482, allocations: 4.062 kB / 0.5596 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.1482, allocations: 34.56 kB / 0.5596 GB, free: 8.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1483, allocations: 0 / 0.5596 GB, free: 8.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003465/0.1486, allocations: 101.6 kB / 0.5597 GB, free: 8.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1486, allocations: 51.41 kB / 0.5598 GB, free: 8.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.1487, allocations: 117.8 kB / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1487, allocations: 25.7 kB / 0.5599 GB, free: 8.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.1488, allocations: 104.1 kB / 0.56 GB, free: 8.129 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1488, allocations: 3.984 kB / 0.56 GB, free: 8.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.1488, allocations: 3.938 kB / 0.56 GB, free: 8.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.1489, allocations: 318.8 kB / 0.5603 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.149, allocations: 15.98 kB / 0.5603 GB, free: 7.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.1491, allocations: 23.98 kB / 0.5604 GB, free: 7.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.858e-05/0.1492, allocations: 23.98 kB / 0.5604 GB, free: 7.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1492, allocations: 0 / 0.5604 GB, free: 7.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002132/0.1494, allocations: 85.84 kB / 0.5605 GB, free: 7.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1495, allocations: 10.19 kB / 0.5605 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1495, allocations: 3.984 kB / 0.5605 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.1495, allocations: 0 / 0.5605 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.1496, allocations: 8 kB / 0.5605 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1496, allocations: 4 kB / 0.5605 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.1496, allocations: 7.984 kB / 0.5605 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1497, allocations: 4 kB / 0.5605 GB, free: 7.613 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.323e-05/0.1497, allocations: 121.8 kB / 0.5606 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.1498, allocations: 7.859 kB / 0.5606 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.1498, allocations: 11.89 kB / 0.5606 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1498, allocations: 0 / 0.5606 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1498, allocations: 0 / 0.5606 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1498, allocations: 3.938 kB / 0.5606 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.15, allocations: 177.6 kB / 0.5608 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.15, allocations: 0 / 0.5608 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.1501, allocations: 11.98 kB / 0.5608 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1501, allocations: 7.891 kB / 0.5608 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1501, allocations: 4 kB / 0.5608 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1501, allocations: 0 / 0.5608 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1501, allocations: 0 / 0.5608 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1504, allocations: 175.4 kB / 0.561 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.1504, allocations: 81.11 kB / 0.5611 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1504, allocations: 3.953 kB / 0.5611 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.1505, allocations: 11.98 kB / 0.5611 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.1506, allocations: 3.938 kB / 0.5611 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1506, allocations: 0 / 0.5611 GB, free: 6.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.944e-05/0.1506, allocations: 99.27 kB / 0.5612 GB, free: 6.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1506, allocations: 0 / 0.5612 GB, free: 6.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.1508, allocations: 4 kB / 0.5612 GB, free: 6.805 MB / 430.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 (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 7.094e-05/0.1509, allocations: 99.94 kB / 0.5613 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1511, allocations: 43.97 kB / 0.5613 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1511, allocations: 0 / 0.5613 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.778e-05/0.1512, allocations: 31.97 kB / 0.5614 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.1514, allocations: 7.938 kB / 0.5614 GB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.1517, allocations: 164.5 kB / 0.5615 GB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.152, allocations: 0.6848 MB / 0.5622 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.964e-05/0.152, allocations: 8 kB / 0.5622 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.152, allocations: 7.438 kB / 0.5622 GB, free: 5.699 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.152, allocations: 0 / 0.5622 GB, free: 5.699 MB / 430.1 MB Notification: Performance of Templates: time 0.002051/0.1541, allocations: 411.2 kB / 0.5626 GB, free: 5.301 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & ./IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)