Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009359/0.0009359, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001162/0.001162, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.004/1.004, allocations: 143.4 MB / 434.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003297, allocations: 11.98 kB / 0.5161 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 83.42 MB / 0.5975 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.001982/0.171, allocations: 1.231 MB / 0.5987 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.1718, allocations: 399.4 kB / 0.5991 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.1719, allocations: 3.938 kB / 0.5991 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.1719, allocations: 0 / 0.5991 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.172, allocations: 3.938 kB / 0.5991 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1722, allocations: 19.92 kB / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1723, allocations: 39.86 kB / 0.5992 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1725, allocations: 19.97 kB / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1726, allocations: 15.92 kB / 0.5992 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.1726, allocations: 19.92 kB / 0.5992 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1727, allocations: 0 / 0.5992 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.1727, allocations: 4 kB / 0.5992 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.1727, allocations: 7.938 kB / 0.5992 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.1727, allocations: 25.7 kB / 0.5993 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.679e-05/0.1728, allocations: 31.92 kB / 0.5993 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1728, allocations: 3.938 kB / 0.5993 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1728, allocations: 0 / 0.5993 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1728, allocations: 0 / 0.5993 GB, free: 5.91 MB / 0.4981 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.0004712/0.1733, allocations: 363.4 kB / 0.5997 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1734, allocations: 12.03 kB / 0.5997 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.1734, allocations: 30.56 kB / 0.5997 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.1734, allocations: 7.984 kB / 0.5997 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1736, allocations: 174.8 kB / 0.5999 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.1736, allocations: 8 kB / 0.5999 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.1736, allocations: 0 / 0.5999 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1738, allocations: 69.67 kB / 0.5999 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1739, allocations: 0 / 0.5999 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1739, allocations: 0 / 0.5999 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1739, allocations: 0 / 0.5999 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.1741, allocations: 63.89 kB / 0.6 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1745, allocations: 296.7 kB / 0.6003 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.1748, allocations: 70.55 kB / 0.6004 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.1749, allocations: 24.91 kB / 0.6004 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.175, allocations: 4 kB / 0.6004 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.175, allocations: 38.5 kB / 0.6004 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.175, allocations: 4 kB / 0.6004 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003579/0.1754, allocations: 97.59 kB / 0.6005 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1754, allocations: 55.34 kB / 0.6006 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1755, allocations: 121.8 kB / 0.6007 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1756, allocations: 29.7 kB / 0.6007 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.1756, allocations: 96.12 kB / 0.6008 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1756, allocations: 7.812 kB / 0.6008 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.1756, allocations: 0 / 0.6008 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1758, allocations: 318.8 kB / 0.6011 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.1758, allocations: 15.98 kB / 0.6011 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-05/0.1759, allocations: 27.92 kB / 0.6012 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.304e-05/0.176, allocations: 23.98 kB / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.176, allocations: 0 / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002038/0.1762, allocations: 77.66 kB / 0.6013 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1763, allocations: 8 kB / 0.6013 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1763, allocations: 0 / 0.6013 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1763, allocations: 0 / 0.6013 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.1764, allocations: 15.94 kB / 0.6013 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1764, allocations: 7.938 kB / 0.6013 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.1764, allocations: 7.906 kB / 0.6013 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1764, allocations: 0 / 0.6013 GB, free: 3.648 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/0.1765, allocations: 117.8 kB / 0.6014 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.1765, allocations: 0 / 0.6014 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.1766, allocations: 11.89 kB / 0.6014 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1766, allocations: 0 / 0.6014 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1766, allocations: 3.953 kB / 0.6014 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1766, allocations: 0 / 0.6014 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.1768, allocations: 177.6 kB / 0.6016 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1768, allocations: 0 / 0.6016 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.1769, allocations: 15.98 kB / 0.6016 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1769, allocations: 4 kB / 0.6016 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1769, allocations: 0 / 0.6016 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1769, allocations: 0 / 0.6016 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1769, allocations: 0 / 0.6016 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1771, allocations: 179.4 kB / 0.6018 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.1772, allocations: 85.42 kB / 0.6019 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1772, allocations: 0 / 0.6019 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.1773, allocations: 11.98 kB / 0.6019 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.1773, allocations: 0 / 0.6019 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1773, allocations: 3.984 kB / 0.6019 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.1774, allocations: 99.27 kB / 0.602 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1774, allocations: 0 / 0.602 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002174/0.1776, allocations: 15.8 kB / 0.602 GB, free: 2.836 MB / 0.4981 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 (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 0.0004826/0.1781, allocations: 0.7085 MB / 0.6027 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.1783, allocations: 47.97 kB / 0.6027 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1783, allocations: 0 / 0.6027 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.1784, allocations: 31.91 kB / 0.6028 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1787, allocations: 8 kB / 0.6028 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.1796, allocations: 0.5008 MB / 0.6033 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1798, allocations: 0.6849 MB / 0.6039 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.1798, allocations: 4 kB / 0.6039 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.1799, allocations: 16.19 kB / 0.6039 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1799, allocations: 0 / 0.6039 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2968/0.4767, allocations: 1.261 MB / 0.6052 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/0.4769, allocations: 210.3 kB / 0.6054 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.117, allocations: 2.109 kB / 0.6054 GB, free: 40.13 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) Environment - environmentSimulation: