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.0009324/0.0009325, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006527/0.006527, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 278.4 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003894, allocations: 19.25 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005655/0.1543, allocations: 263.2 kB / 0.6854 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000584/0.1549, allocations: 339.1 kB / 0.6857 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.195e-05/0.1549, allocations: 0.75 kB / 0.6857 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.1549, allocations: 0 / 0.6857 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.1549, allocations: 5.125 kB / 0.6857 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1552, allocations: 61.3 kB / 0.6858 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.277e-05/0.1553, allocations: 13.23 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.1553, allocations: 3.984 kB / 0.6858 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.1553, allocations: 8 kB / 0.6858 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.1554, allocations: 0 / 0.6858 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.1554, allocations: 7.125 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.1557, allocations: 187.8 kB / 0.686 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.1557, allocations: 11.94 kB / 0.686 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1557, allocations: 29.69 kB / 0.686 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.1559, allocations: 79.8 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1559, allocations: 0 / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1559, allocations: 0 / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1559, allocations: 0 / 0.6861 GB, free: 14.07 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.0002611/0.1561, allocations: 336.8 kB / 0.6864 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1562, allocations: 8.031 kB / 0.6864 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.1562, allocations: 5.5 kB / 0.6864 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.1563, allocations: 169.4 kB / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1563, allocations: 384 / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1564, allocations: 4.375 kB / 0.6866 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.009e-05/0.1564, allocations: 39.58 kB / 0.6866 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1565, allocations: 4.172 kB / 0.6866 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.1565, allocations: 3.938 kB / 0.6866 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1565, allocations: 2.031 kB / 0.6866 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.1565, allocations: 4 kB / 0.6866 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.1566, allocations: 157.6 kB / 0.6868 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.886e-05/0.1567, allocations: 19.33 kB / 0.6868 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.1567, allocations: 6.047 kB / 0.6868 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.1572, allocations: 0.5879 MB / 0.6874 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1573, allocations: 31.19 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.1573, allocations: 0.6562 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004082/0.1577, allocations: 260.7 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.1577, allocations: 55.34 kB / 0.6877 GB, free: 12.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.1578, allocations: 97.84 kB / 0.6878 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1578, allocations: 27.86 kB / 0.6878 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.1579, allocations: 84.14 kB / 0.6879 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1579, allocations: 11.81 kB / 0.6879 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.1579, allocations: 9.719 kB / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.158, allocations: 315.6 kB / 0.6882 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.158, allocations: 7.984 kB / 0.6883 GB, free: 11.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.519e-05/0.1581, allocations: 22.59 kB / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/0.1581, allocations: 26.84 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1581, allocations: 1.219 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.531e-05/0.1582, allocations: 49.69 kB / 0.6883 GB, free: 11.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1582, allocations: 11.12 kB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1582, allocations: 4 kB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1583, allocations: 288 / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.1583, allocations: 11.94 kB / 0.6884 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1583, allocations: 3.984 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.1583, allocations: 4 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1583, allocations: 0 / 0.6884 GB, free: 11.34 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.503e-05/0.1584, allocations: 115.2 kB / 0.6885 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.1584, allocations: 3.938 kB / 0.6885 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1585, allocations: 57.03 kB / 0.6886 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1585, allocations: 0 / 0.6886 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1586, allocations: 8 kB / 0.6886 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1586, allocations: 0 / 0.6886 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.521e-05/0.1587, allocations: 161.6 kB / 0.6887 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1587, allocations: 0 / 0.6887 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.1587, allocations: 7.984 kB / 0.6887 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1587, allocations: 3.938 kB / 0.6887 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.1587, allocations: 0 / 0.6887 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1587, allocations: 0 / 0.6887 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1587, allocations: 4 kB / 0.6887 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1589, allocations: 77.12 kB / 0.6888 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.1589, allocations: 77.11 kB / 0.6889 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1589, allocations: 7.922 kB / 0.6889 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.159, allocations: 7.969 kB / 0.6889 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.159, allocations: 3.938 kB / 0.6889 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.159, allocations: 0 / 0.6889 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.221e-05/0.159, allocations: 83.7 kB / 0.689 GB, free: 10.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.159, allocations: 0 / 0.689 GB, free: 10.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1593, allocations: 31.92 kB / 0.689 GB, free: 10.6 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.0001674/0.1594, allocations: 123.3 kB / 0.6891 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.933e-05/0.1595, allocations: 19.98 kB / 0.6891 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1595, allocations: 0 / 0.6891 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.1595, allocations: 8 kB / 0.6891 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1597, allocations: 4.172 kB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.1599, allocations: 116.6 kB / 0.6893 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.1601, allocations: 0.6927 MB / 0.6899 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.3e-05/0.1601, allocations: 7.984 kB / 0.6899 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.1601, allocations: 7.438 kB / 0.69 GB, free: 9.559 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1601, allocations: 0 / 0.69 GB, free: 9.559 MB / 494.1 MB Notification: Performance of Templates: time 0.00318/0.1633, allocations: 1.201 MB / 0.6911 GB, free: 8.391 MB / 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)