Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",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.005196/0.005196, allocations: 102 kB / 15.73 MB, free: 6.039 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.001214/0.001214, allocations: 194 kB / 16.67 MB, free: 5.961 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.857/0.857, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.09 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1676, allocations: 82.03 MB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001878/0.1695, allocations: 0.539 MB / 0.6757 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.1702, allocations: 323.2 kB / 0.676 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.1702, allocations: 0 / 0.676 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.1703, allocations: 0 / 0.676 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.256e-05/0.1703, allocations: 4 kB / 0.676 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.1708, allocations: 103.5 kB / 0.6761 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.1708, allocations: 11.98 kB / 0.6761 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.1709, allocations: 4 kB / 0.6761 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.1709, allocations: 4 kB / 0.6761 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.171, allocations: 11.92 kB / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.171, allocations: 4 kB / 0.6761 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.1713, allocations: 187.7 kB / 0.6763 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.1713, allocations: 3.984 kB / 0.6763 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.1714, allocations: 7.938 kB / 0.6763 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1715, allocations: 79.86 kB / 0.6764 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1716, allocations: 0 / 0.6764 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1716, allocations: 0 / 0.6764 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1716, allocations: 0 / 0.6764 GB, free: 9.586 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003687/0.1719, allocations: 334.4 kB / 0.6767 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.172, allocations: 12.03 kB / 0.6767 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.172, allocations: 34.75 kB / 0.6768 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1721, allocations: 0.9375 kB / 0.6768 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1722, allocations: 176.3 kB / 0.6769 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.1722, allocations: 384 / 0.6769 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1722, allocations: 384 / 0.6769 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/0.1723, allocations: 34.27 kB / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1723, allocations: 3.938 kB / 0.677 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1724, allocations: 0 / 0.677 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1724, allocations: 4 kB / 0.677 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.1724, allocations: 15.86 kB / 0.677 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.1726, allocations: 153.6 kB / 0.6771 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.912e-05/0.1727, allocations: 22.59 kB / 0.6771 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.1727, allocations: 8.922 kB / 0.6772 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/0.1733, allocations: 0.5856 MB / 0.6777 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1734, allocations: 34.56 kB / 0.6778 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1734, allocations: 0 / 0.6778 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005488/0.1739, allocations: 254.2 kB / 0.678 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.174, allocations: 51.62 kB / 0.6781 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.174, allocations: 105.8 kB / 0.6782 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1741, allocations: 33.7 kB / 0.6782 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.1741, allocations: 80.14 kB / 0.6783 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1742, allocations: 8.688 kB / 0.6783 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.1742, allocations: 17.72 kB / 0.6783 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1743, allocations: 314.8 kB / 0.6786 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.1743, allocations: 4 kB / 0.6786 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.1744, allocations: 25.72 kB / 0.6786 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.1744, allocations: 21.72 kB / 0.6786 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1744, allocations: 0 / 0.6786 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.096e-05/0.1745, allocations: 53.62 kB / 0.6787 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1746, allocations: 7.938 kB / 0.6787 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1746, allocations: 4 kB / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1746, allocations: 0 / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.1747, allocations: 8.062 kB / 0.6787 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1747, allocations: 7.984 kB / 0.6787 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.1747, allocations: 0 / 0.6787 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1747, allocations: 4 kB / 0.6787 GB, free: 6.785 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.007e-05/0.1748, allocations: 113.8 kB / 0.6788 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.1748, allocations: 7.844 kB / 0.6788 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.1749, allocations: 49.19 kB / 0.6789 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1749, allocations: 3.938 kB / 0.6789 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.175, allocations: 12 kB / 0.6789 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.175, allocations: 384 / 0.6789 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1751, allocations: 153.7 kB / 0.679 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1751, allocations: 0 / 0.679 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.1752, allocations: 7.984 kB / 0.6791 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1752, allocations: 3.938 kB / 0.6791 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1752, allocations: 3.984 kB / 0.6791 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1752, allocations: 7.938 kB / 0.6791 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1752, allocations: 0 / 0.6791 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.1753, allocations: 81.06 kB / 0.6791 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.1754, allocations: 81.05 kB / 0.6792 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1754, allocations: 3.984 kB / 0.6792 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.1755, allocations: 8.031 kB / 0.6792 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.1755, allocations: 0 / 0.6792 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.1755, allocations: 0 / 0.6792 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.1755, allocations: 79.28 kB / 0.6793 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1755, allocations: 0 / 0.6793 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002369/0.1758, allocations: 31.98 kB / 0.6793 GB, free: 6.047 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0005273/0.1763, allocations: 0.6475 MB / 0.68 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1764, allocations: 12 kB / 0.68 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1764, allocations: 0 / 0.68 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/0.1765, allocations: 15.92 kB / 0.68 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.1766, allocations: 8.188 kB / 0.68 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1777, allocations: 1.135 MB / 0.6811 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1779, allocations: 0.6768 MB / 0.6818 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.178, allocations: 4 kB / 0.6818 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.178, allocations: 19.42 kB / 0.6818 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.178, allocations: 0 / 0.6818 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.1969, allocations: 2.115 MB / 0.6839 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.023, allocations: 17.05 kB / 0.6839 GB, free: 1.434 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)