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: "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005356/0.005356, allocations: 103.4 kB / 15.73 MB, free: 6.043 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.00146/0.00146, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 282.9 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8835/0.8835, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 95.84 kB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1607, allocations: 86.97 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002552/0.1633, allocations: 1.528 MB / 0.7674 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007105/0.1641, allocations: 439.4 kB / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.1641, allocations: 4 kB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.1642, allocations: 7.922 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.1642, allocations: 3.938 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.1645, allocations: 23.91 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.1646, allocations: 47.84 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1647, allocations: 24.2 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1648, allocations: 23.92 kB / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.1649, allocations: 23.89 kB / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1649, allocations: 4 kB / 0.7679 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.1649, allocations: 11.88 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1649, allocations: 7.938 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.165, allocations: 23.86 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.491e-05/0.1651, allocations: 43.88 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1651, allocations: 0 / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1651, allocations: 4 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1651, allocations: 0 / 0.768 GB, free: 6.75 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.0005208/0.1656, allocations: 357.2 kB / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1657, allocations: 12.03 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.1657, allocations: 34.73 kB / 0.7684 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.1657, allocations: 8.844 kB / 0.7684 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1659, allocations: 168.3 kB / 0.7686 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1659, allocations: 8.312 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.1659, allocations: 8.375 kB / 0.7686 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1661, allocations: 65.73 kB / 0.7686 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1661, allocations: 0 / 0.7686 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1662, allocations: 0 / 0.7686 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1662, allocations: 3.984 kB / 0.7687 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.1663, allocations: 47.95 kB / 0.7687 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1667, allocations: 300.6 kB / 0.769 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.167, allocations: 58.55 kB / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.1671, allocations: 20.91 kB / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.1672, allocations: 4 kB / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1672, allocations: 42.55 kB / 0.7691 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1672, allocations: 0 / 0.7691 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003314/0.1675, allocations: 81.59 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.1676, allocations: 55.41 kB / 0.7692 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.1677, allocations: 113.8 kB / 0.7693 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1677, allocations: 29.7 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.1677, allocations: 92.12 kB / 0.7695 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.1678, allocations: 19.88 kB / 0.7695 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1678, allocations: 13.72 kB / 0.7695 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1679, allocations: 322.8 kB / 0.7698 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.168, allocations: 15.98 kB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.1681, allocations: 15.98 kB / 0.7698 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1683, allocations: 36.83 kB / 0.7699 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1683, allocations: 4 kB / 0.7699 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001971/0.1685, allocations: 73.61 kB / 0.7699 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1685, allocations: 7.938 kB / 0.7699 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1685, allocations: 0 / 0.7699 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1685, allocations: 0 / 0.7699 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.1686, allocations: 11.98 kB / 0.77 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1686, allocations: 0 / 0.77 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.1687, allocations: 15.84 kB / 0.77 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1687, allocations: 11.86 kB / 0.77 GB, free: 4.5 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.679e-05/0.1688, allocations: 118.5 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1688, allocations: 0 / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.1688, allocations: 11.91 kB / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1688, allocations: 0 / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1689, allocations: 0 / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1689, allocations: 0 / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.169, allocations: 177.6 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.169, allocations: 0 / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.1691, allocations: 4 kB / 0.7703 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1691, allocations: 11.98 kB / 0.7703 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1691, allocations: 0 / 0.7703 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1691, allocations: 0 / 0.7703 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1691, allocations: 3.938 kB / 0.7703 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1694, allocations: 163.7 kB / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.1694, allocations: 89.12 kB / 0.7705 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1695, allocations: 0 / 0.7705 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.1695, allocations: 12 kB / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.1696, allocations: 0 / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1696, allocations: 3.984 kB / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.1696, allocations: 99.59 kB / 0.7706 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1696, allocations: 0 / 0.7706 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002134/0.1699, allocations: 15.89 kB / 0.7707 GB, free: 3.707 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 0.0004901/0.1704, allocations: 0.6968 MB / 0.7713 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1706, allocations: 39.97 kB / 0.7714 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1706, allocations: 0 / 0.7714 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.1707, allocations: 19.98 kB / 0.7714 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1709, allocations: 8 kB / 0.7714 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.1724, allocations: 1.358 MB / 0.7727 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1727, allocations: 0.6807 MB / 0.7734 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.1727, allocations: 11.88 kB / 0.7734 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1727, allocations: 15.42 kB / 0.7734 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1728, allocations: 8 kB / 0.7734 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3139/0.4866, allocations: 1.514 MB / 0.7749 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.48, allocations: 6.297 kB / 0.7749 GB, free: 14.62 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)