Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.005475/0.005475, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001188/0.001188, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 282.7 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9509/0.9509, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 95.53 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1647, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001979/0.1667, allocations: 0.5284 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006845/0.1675, allocations: 315 kB / 0.7667 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.1675, allocations: 0 / 0.7667 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.1675, allocations: 0 / 0.7667 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.408e-05/0.1676, allocations: 3.938 kB / 0.7667 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.1681, allocations: 96.03 kB / 0.7668 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.1681, allocations: 11.94 kB / 0.7668 GB, free: 8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.1682, allocations: 3.984 kB / 0.7668 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.1682, allocations: 7.938 kB / 0.7668 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.1683, allocations: 3.984 kB / 0.7668 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1683, allocations: 4 kB / 0.7668 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.1687, allocations: 191.8 kB / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.1687, allocations: 0 / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.1687, allocations: 11.92 kB / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.169, allocations: 87.73 kB / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.169, allocations: 0 / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.654e-06/0.169, allocations: 0 / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.169, allocations: 0 / 0.7671 GB, free: 7.695 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004975/0.1695, allocations: 339.5 kB / 0.7674 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1695, allocations: 11.97 kB / 0.7675 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.1696, allocations: 34.75 kB / 0.7675 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.1696, allocations: 8.938 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1697, allocations: 168.4 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1698, allocations: 384 / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1698, allocations: 384 / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.1699, allocations: 42.2 kB / 0.7677 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1699, allocations: 3.938 kB / 0.7677 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1699, allocations: 0 / 0.7677 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1699, allocations: 0 / 0.7677 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.17, allocations: 4 kB / 0.7677 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.1701, allocations: 153.7 kB / 0.7679 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.402e-05/0.1702, allocations: 26.59 kB / 0.7679 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.1702, allocations: 4.859 kB / 0.7679 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007379/0.171, allocations: 0.5857 MB / 0.7685 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.171, allocations: 34.5 kB / 0.7685 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.171, allocations: 0 / 0.7685 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000586/0.1716, allocations: 258.2 kB / 0.7687 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1717, allocations: 51.41 kB / 0.7688 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.1717, allocations: 94.08 kB / 0.7689 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1718, allocations: 29.7 kB / 0.7689 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.1718, allocations: 84.14 kB / 0.769 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1719, allocations: 23.67 kB / 0.769 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1719, allocations: 13.72 kB / 0.769 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.172, allocations: 318.8 kB / 0.7693 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.1721, allocations: 7.984 kB / 0.7693 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.1721, allocations: 21.94 kB / 0.7693 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.1722, allocations: 29.66 kB / 0.7694 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1722, allocations: 0 / 0.7694 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.09e-05/0.1723, allocations: 49.69 kB / 0.7694 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1723, allocations: 11.94 kB / 0.7694 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1723, allocations: 0 / 0.7694 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1723, allocations: 0 / 0.7694 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.1724, allocations: 11.94 kB / 0.7694 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1724, allocations: 4.062 kB / 0.7695 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.1724, allocations: 0 / 0.7695 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1724, allocations: 4 kB / 0.7695 GB, free: 4.883 MB / 0.5606 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 0.0001517/0.1726, allocations: 114.5 kB / 0.7696 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.1726, allocations: 3.938 kB / 0.7696 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.1728, allocations: 57.17 kB / 0.7696 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1728, allocations: 0 / 0.7696 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1728, allocations: 0 / 0.7696 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1728, allocations: 3.938 kB / 0.7696 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1729, allocations: 157.7 kB / 0.7698 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1729, allocations: 0 / 0.7698 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.173, allocations: 11.92 kB / 0.7698 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.173, allocations: 7.938 kB / 0.7698 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.173, allocations: 0 / 0.7698 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.173, allocations: 4 kB / 0.7698 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.173, allocations: 0 / 0.7698 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.1732, allocations: 77.03 kB / 0.7699 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.1732, allocations: 89.14 kB / 0.77 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1732, allocations: 0 / 0.77 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.1733, allocations: 0 / 0.77 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.1733, allocations: 3.984 kB / 0.77 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1733, allocations: 8 kB / 0.77 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.1733, allocations: 75.28 kB / 0.77 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.244e-06/0.1733, allocations: 0 / 0.77 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000239/0.1736, allocations: 31.94 kB / 0.7701 GB, free: 4.148 MB / 0.5606 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.0005035/0.1741, allocations: 0.6436 MB / 0.7707 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.457e-05/0.1742, allocations: 19.94 kB / 0.7707 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1742, allocations: 0 / 0.7707 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/0.1742, allocations: 11.98 kB / 0.7707 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.1744, allocations: 4 kB / 0.7707 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1755, allocations: 1.149 MB / 0.7719 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1758, allocations: 0.6768 MB / 0.7725 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.1758, allocations: 4 kB / 0.7725 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.1759, allocations: 11.44 kB / 0.7725 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.1759, allocations: 0 / 0.7725 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3329/0.5088, allocations: 2.105 MB / 0.7746 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.976, allocations: 10.62 kB / 0.7746 GB, free: 14.5 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)