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.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001226/0.001226, allocations: 191.9 kB / 16.14 MB, free: 6.707 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 278.8 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9401/0.9401, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 92.08 kB / 0.5945 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1509, allocations: 86.99 MB / 0.6794 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00163/0.1526, allocations: 0.5976 MB / 0.68 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006516/0.1532, allocations: 347.7 kB / 0.6804 GB, free: 264 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.247e-05/0.1533, allocations: 1.781 kB / 0.6804 GB, free: 264 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.1533, allocations: 0 / 0.6804 GB, free: 264 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.1533, allocations: 0 / 0.6804 GB, free: 264 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1536, allocations: 63.84 kB / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.92e-05/0.1537, allocations: 15.92 kB / 0.6804 GB, free: 184 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.1537, allocations: 0 / 0.6804 GB, free: 184 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.661e-05/0.1537, allocations: 4 kB / 0.6804 GB, free: 180 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.1538, allocations: 7.938 kB / 0.6804 GB, free: 172 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1538, allocations: 4 kB / 0.6804 GB, free: 168 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.1541, allocations: 191.7 kB / 0.6806 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.1541, allocations: 0 / 0.6806 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.1541, allocations: 11.94 kB / 0.6806 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1543, allocations: 79.86 kB / 0.6807 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1543, allocations: 0 / 0.6807 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1543, allocations: 0 / 0.6807 GB, free: 15.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.1543, allocations: 0 / 0.6807 GB, free: 15.89 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.0003186/0.1546, allocations: 339.8 kB / 0.681 GB, free: 15.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1547, allocations: 12.02 kB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1547, allocations: 0.9375 kB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1548, allocations: 168.3 kB / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.1548, allocations: 384 / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1548, allocations: 4.375 kB / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.76e-05/0.1549, allocations: 38.25 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.155, allocations: 4.125 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.155, allocations: 11.92 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.155, allocations: 0 / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.155, allocations: 3.938 kB / 0.6813 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.1552, allocations: 153.7 kB / 0.6814 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.314e-05/0.1552, allocations: 22.61 kB / 0.6814 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.1552, allocations: 8.922 kB / 0.6814 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/0.1558, allocations: 0.5817 MB / 0.682 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1558, allocations: 34.56 kB / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.156e-06/0.1559, allocations: 0 / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004603/0.1563, allocations: 258.2 kB / 0.6823 GB, free: 13.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1564, allocations: 55.41 kB / 0.6823 GB, free: 13.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.1564, allocations: 97.84 kB / 0.6824 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1565, allocations: 25.7 kB / 0.6825 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.1565, allocations: 88.34 kB / 0.6826 GB, free: 13.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.1565, allocations: 7.906 kB / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1566, allocations: 17.72 kB / 0.6826 GB, free: 13.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.1567, allocations: 318.8 kB / 0.6829 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.1567, allocations: 0 / 0.6829 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.1567, allocations: 21.72 kB / 0.6829 GB, free: 13.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.1568, allocations: 29.7 kB / 0.6829 GB, free: 13.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1568, allocations: 3.938 kB / 0.6829 GB, free: 13.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.605e-05/0.1569, allocations: 45.7 kB / 0.683 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1569, allocations: 11.94 kB / 0.683 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1569, allocations: 0 / 0.683 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1569, allocations: 0 / 0.683 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.157, allocations: 7.984 kB / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.157, allocations: 7.938 kB / 0.683 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.331e-05/0.157, allocations: 0 / 0.683 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.157, allocations: 0 / 0.683 GB, free: 13.13 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.465e-05/0.1571, allocations: 119.2 kB / 0.6831 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.1571, allocations: 7.844 kB / 0.6831 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1572, allocations: 53.12 kB / 0.6832 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1572, allocations: 7.938 kB / 0.6832 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1572, allocations: 3.984 kB / 0.6832 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1572, allocations: 0 / 0.6832 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.799e-05/0.1574, allocations: 153.7 kB / 0.6833 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1574, allocations: 4 kB / 0.6833 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.1574, allocations: 8 kB / 0.6833 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1574, allocations: 3.938 kB / 0.6833 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1574, allocations: 7.938 kB / 0.6834 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1574, allocations: 0 / 0.6834 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1575, allocations: 0 / 0.6834 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.1576, allocations: 73.5 kB / 0.6834 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.1576, allocations: 85.12 kB / 0.6835 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1576, allocations: 7.969 kB / 0.6835 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.1577, allocations: 4.062 kB / 0.6835 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.1577, allocations: 0 / 0.6835 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1577, allocations: 8 kB / 0.6835 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.77e-05/0.1578, allocations: 79.22 kB / 0.6836 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1578, allocations: 0 / 0.6836 GB, free: 12.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.158, allocations: 31.98 kB / 0.6836 GB, free: 12.38 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.0001807/0.1582, allocations: 119.2 kB / 0.6837 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.1583, allocations: 16 kB / 0.6838 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1583, allocations: 8.062 kB / 0.6838 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.208e-05/0.1583, allocations: 4 kB / 0.6838 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1584, allocations: 11.98 kB / 0.6838 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.1587, allocations: 117.4 kB / 0.6839 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.1589, allocations: 0.6731 MB / 0.6846 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.644e-05/0.1589, allocations: 11.92 kB / 0.6846 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.159, allocations: 7.438 kB / 0.6846 GB, free: 11.36 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.159, allocations: 4 kB / 0.6846 GB, free: 11.36 MB / 494.1 MB Notification: Performance of Templates: time 0.003156/0.1621, allocations: 1.21 MB / 0.6858 GB, free: 10.18 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)