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.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: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001096/0.001096, allocations: 177.3 kB / 15.95 MB, free: 216 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.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.062/1.062, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003388, allocations: 8 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 83.41 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0006002/0.1609, allocations: 262.3 kB / 0.5975 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005651/0.1615, allocations: 303.3 kB / 0.5978 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.1615, allocations: 0 / 0.5978 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.1616, allocations: 7.938 kB / 0.5978 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.1616, allocations: 0 / 0.5978 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1619, allocations: 59.84 kB / 0.5979 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.086e-05/0.162, allocations: 7.938 kB / 0.5979 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.162, allocations: 4 kB / 0.5979 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.162, allocations: 3.984 kB / 0.5979 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.1621, allocations: 7.984 kB / 0.5979 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1621, allocations: 0 / 0.5979 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.1624, allocations: 175.8 kB / 0.5981 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.1624, allocations: 4 kB / 0.5981 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.1624, allocations: 29.64 kB / 0.5981 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1625, allocations: 51.84 kB / 0.5982 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.1625, allocations: 0 / 0.5982 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1625, allocations: 0 / 0.5982 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.1626, allocations: 0 / 0.5982 GB, free: 6.934 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002941/0.1628, allocations: 331.4 kB / 0.5985 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1629, allocations: 12.03 kB / 0.5985 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.1629, allocations: 7.859 kB / 0.5985 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.163, allocations: 167.3 kB / 0.5987 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1631, allocations: 4 kB / 0.5987 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1631, allocations: 0 / 0.5987 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.597e-05/0.1632, allocations: 33.7 kB / 0.5987 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1632, allocations: 0 / 0.5987 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1632, allocations: 7.984 kB / 0.5987 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1632, allocations: 0 / 0.5987 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28e-05/0.1632, allocations: 7.938 kB / 0.5987 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1634, allocations: 161.6 kB / 0.5989 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/0.1635, allocations: 18.61 kB / 0.5989 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006598/0.1641, allocations: 0.5818 MB / 0.5994 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1642, allocations: 34.56 kB / 0.5995 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1642, allocations: 4 kB / 0.5995 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005101/0.1647, allocations: 246.3 kB / 0.5997 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1648, allocations: 55.41 kB / 0.5998 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.1648, allocations: 105.9 kB / 0.5999 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1649, allocations: 25.7 kB / 0.5999 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.1649, allocations: 80.14 kB / 0.6 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1649, allocations: 8.125 kB / 0.6 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.1649, allocations: 4 kB / 0.6 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1651, allocations: 322.7 kB / 0.6003 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.1651, allocations: 3.938 kB / 0.6003 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.1651, allocations: 25.7 kB / 0.6003 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.128e-05/0.1652, allocations: 4 kB / 0.6003 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1652, allocations: 0 / 0.6003 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.69e-05/0.1653, allocations: 61.66 kB / 0.6004 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1653, allocations: 4 kB / 0.6004 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1653, allocations: 0 / 0.6004 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.1653, allocations: 4 kB / 0.6004 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.1654, allocations: 4 kB / 0.6004 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1654, allocations: 0 / 0.6004 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.1654, allocations: 4 kB / 0.6004 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1654, allocations: 0 / 0.6004 GB, free: 4.246 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.601e-05/0.1655, allocations: 113.8 kB / 0.6005 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.1655, allocations: 7.938 kB / 0.6005 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.1656, allocations: 65.09 kB / 0.6006 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1656, allocations: 0 / 0.6006 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1656, allocations: 0 / 0.6006 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1657, allocations: 0 / 0.6006 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.1658, allocations: 165.6 kB / 0.6007 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1658, allocations: 0 / 0.6007 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.1658, allocations: 4 kB / 0.6007 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1658, allocations: 0 / 0.6007 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1658, allocations: 0 / 0.6007 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1659, allocations: 4 kB / 0.6007 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1659, allocations: 7.922 kB / 0.6007 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.166, allocations: 81.08 kB / 0.6008 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.166, allocations: 77.11 kB / 0.6009 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1661, allocations: 0 / 0.6009 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.1661, allocations: 0 / 0.6009 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.1661, allocations: 7.969 kB / 0.6009 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1661, allocations: 3.984 kB / 0.6009 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.1662, allocations: 83.34 kB / 0.601 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.1662, allocations: 0 / 0.601 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000225/0.1664, allocations: 28 kB / 0.601 GB, free: 3.508 MB / 0.4981 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 (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.0001907/0.1666, allocations: 131.2 kB / 0.6011 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.1667, allocations: 19.98 kB / 0.6012 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1667, allocations: 0 / 0.6012 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.1667, allocations: 11.94 kB / 0.6012 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.1668, allocations: 9.766 kB / 0.6012 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.1671, allocations: 117.5 kB / 0.6013 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1673, allocations: 0.677 MB / 0.602 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.1673, allocations: 4 kB / 0.602 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.1674, allocations: 11.44 kB / 0.602 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1674, allocations: 0 / 0.602 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of Templates: time 0.003381/0.1707, allocations: 1.196 MB / 0.6031 GB, free: 1.305 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: