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: translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001115/0.001115, allocations: 111 kB / 16.37 MB, free: 6.012 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.001204/0.001204, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 280.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9147/0.9147, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 94.7 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1663, allocations: 86.97 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001521/0.1679, allocations: 0.54 MB / 0.6821 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005473/0.1684, allocations: 318.9 kB / 0.6824 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.1685, allocations: 0 / 0.6824 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.1685, allocations: 0 / 0.6824 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.994e-05/0.1685, allocations: 7.938 kB / 0.6824 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1689, allocations: 103.7 kB / 0.6825 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.35e-05/0.1689, allocations: 7.938 kB / 0.6825 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.169, allocations: 4 kB / 0.6826 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.169, allocations: 4 kB / 0.6826 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.169, allocations: 15.91 kB / 0.6826 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1691, allocations: 4 kB / 0.6826 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.1693, allocations: 183.8 kB / 0.6828 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1693, allocations: 4 kB / 0.6828 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.1694, allocations: 0 / 0.6828 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1695, allocations: 83.78 kB / 0.6828 GB, free: 6.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1695, allocations: 4 kB / 0.6828 GB, free: 6.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1696, allocations: 0 / 0.6828 GB, free: 6.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1696, allocations: 0 / 0.6828 GB, free: 6.164 MB / 494.1 MB 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.0003014/0.1699, allocations: 335.5 kB / 0.6832 GB, free: 5.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1699, allocations: 12.03 kB / 0.6832 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.1699, allocations: 4.938 kB / 0.6832 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.17, allocations: 164.3 kB / 0.6833 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1701, allocations: 4.375 kB / 0.6833 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1701, allocations: 4.375 kB / 0.6833 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.02e-05/0.1702, allocations: 34.25 kB / 0.6834 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1702, allocations: 192 / 0.6834 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1702, allocations: 7.875 kB / 0.6834 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.1702, allocations: 0 / 0.6834 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.1702, allocations: 4 kB / 0.6834 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1704, allocations: 157.7 kB / 0.6835 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/0.1704, allocations: 18.61 kB / 0.6836 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.1704, allocations: 16.86 kB / 0.6836 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/0.171, allocations: 0.5778 MB / 0.6841 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.171, allocations: 34.56 kB / 0.6842 GB, free: 4.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.171, allocations: 3.938 kB / 0.6842 GB, free: 4.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004213/0.1715, allocations: 254.3 kB / 0.6844 GB, free: 4.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1715, allocations: 55.39 kB / 0.6845 GB, free: 4.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.1716, allocations: 102.1 kB / 0.6846 GB, free: 4.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.1716, allocations: 25.7 kB / 0.6846 GB, free: 4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.1716, allocations: 84.14 kB / 0.6847 GB, free: 3.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.1717, allocations: 11.75 kB / 0.6847 GB, free: 3.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.1717, allocations: 21.7 kB / 0.6847 GB, free: 3.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.1718, allocations: 310.8 kB / 0.685 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.1718, allocations: 8 kB / 0.685 GB, free: 3.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.1719, allocations: 17.94 kB / 0.685 GB, free: 3.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.1719, allocations: 29.72 kB / 0.685 GB, free: 3.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1719, allocations: 0 / 0.685 GB, free: 3.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.994e-05/0.172, allocations: 57.72 kB / 0.6851 GB, free: 3.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.172, allocations: 7.938 kB / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.172, allocations: 0 / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.172, allocations: 7.984 kB / 0.6851 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.1721, allocations: 4 kB / 0.6851 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1721, allocations: 4.062 kB / 0.6851 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.1721, allocations: 0 / 0.6851 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.1721, allocations: 7.938 kB / 0.6851 GB, free: 3.402 MB / 494.1 MB 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 6.739e-05/0.1722, allocations: 105.8 kB / 0.6852 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.1722, allocations: 7.938 kB / 0.6852 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1723, allocations: 61.08 kB / 0.6853 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1723, allocations: 0 / 0.6853 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1724, allocations: 0 / 0.6853 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1724, allocations: 4 kB / 0.6853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1725, allocations: 165.6 kB / 0.6855 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1725, allocations: 0 / 0.6855 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.1725, allocations: 4 kB / 0.6855 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1725, allocations: 3.938 kB / 0.6855 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.1726, allocations: 0 / 0.6855 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1726, allocations: 3.938 kB / 0.6855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1726, allocations: 0 / 0.6855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1727, allocations: 85.11 kB / 0.6856 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.1727, allocations: 77.11 kB / 0.6856 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1727, allocations: 3.938 kB / 0.6856 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.279e-05/0.1728, allocations: 0 / 0.6856 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.1728, allocations: 4.031 kB / 0.6856 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1728, allocations: 0 / 0.6856 GB, free: 2.781 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.1728, allocations: 83.27 kB / 0.6857 GB, free: 2.699 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1729, allocations: 0 / 0.6857 GB, free: 2.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.1731, allocations: 31.94 kB / 0.6857 GB, free: 2.668 MB / 494.1 MB 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.0001774/0.1732, allocations: 127.3 kB / 0.6859 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.355e-05/0.1733, allocations: 19.94 kB / 0.6859 GB, free: 2.512 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1733, allocations: 0 / 0.6859 GB, free: 2.512 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.1734, allocations: 11.98 kB / 0.6859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1735, allocations: 1.016 kB / 0.6859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.1737, allocations: 125.8 kB / 0.686 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.174, allocations: 0.6768 MB / 0.6867 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.52e-05/0.174, allocations: 8.125 kB / 0.6867 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.174, allocations: 11.38 kB / 0.6867 GB, free: 1.629 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.174, allocations: 4 kB / 0.6867 GB, free: 1.625 MB / 494.1 MB Notification: Performance of Templates: time 0.003157/0.1772, allocations: 1.218 MB / 0.6879 GB, free: 452 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)