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.001017/0.001017, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 197.1 kB / 16.64 MB, free: 6.609 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.288/1.288, allocations: 222.9 MB / 240.3 MB, free: 4.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.002194/0.002194, allocations: 278.8 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.917/0.917, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 95.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1495, allocations: 86.97 MB / 0.7663 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001411/0.151, allocations: 0.54 MB / 0.7668 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005667/0.1516, allocations: 314.9 kB / 0.7671 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.1516, allocations: 0 / 0.7671 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.1516, allocations: 0 / 0.7671 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.5e-05/0.1517, allocations: 3.938 kB / 0.7671 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.152, allocations: 95.75 kB / 0.7672 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.49e-05/0.1521, allocations: 23.91 kB / 0.7673 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1521, allocations: 7.938 kB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.1522, allocations: 4 kB / 0.7673 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.1522, allocations: 3.984 kB / 0.7673 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1522, allocations: 0 / 0.7673 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.1525, allocations: 187.8 kB / 0.7675 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1525, allocations: 3.984 kB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.1526, allocations: 7.938 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1527, allocations: 83.8 kB / 0.7675 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1527, allocations: 4 kB / 0.7675 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1527, allocations: 0 / 0.7675 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.1527, allocations: 0 / 0.7675 GB, free: 7.184 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.000331/0.1531, allocations: 343.4 kB / 0.7679 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1531, allocations: 12.03 kB / 0.7679 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1531, allocations: 0.9375 kB / 0.7679 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1533, allocations: 160.4 kB / 0.768 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1533, allocations: 4.375 kB / 0.768 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1533, allocations: 384 / 0.768 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.1534, allocations: 38.25 kB / 0.7681 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1534, allocations: 192 / 0.7681 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1534, allocations: 3.938 kB / 0.7681 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1534, allocations: 0 / 0.7681 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.123e-05/0.1535, allocations: 11.94 kB / 0.7681 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.1536, allocations: 153.7 kB / 0.7682 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.1537, allocations: 26.55 kB / 0.7683 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.1537, allocations: 8.922 kB / 0.7683 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005651/0.1543, allocations: 0.5817 MB / 0.7688 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1543, allocations: 34.56 kB / 0.7689 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1543, allocations: 0 / 0.7689 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004619/0.1548, allocations: 258.2 kB / 0.7691 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1548, allocations: 55.34 kB / 0.7692 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.1549, allocations: 101.8 kB / 0.7693 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1549, allocations: 25.7 kB / 0.7693 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.155, allocations: 84.14 kB / 0.7694 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.155, allocations: 19.69 kB / 0.7694 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.155, allocations: 13.94 kB / 0.7694 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.1551, allocations: 322.8 kB / 0.7697 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.1551, allocations: 4 kB / 0.7697 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.1552, allocations: 21.72 kB / 0.7697 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/0.1552, allocations: 29.7 kB / 0.7698 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1552, allocations: 0 / 0.7698 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.655e-05/0.1553, allocations: 53.64 kB / 0.7698 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1553, allocations: 7.938 kB / 0.7698 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1554, allocations: 0 / 0.7698 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1554, allocations: 4 kB / 0.7698 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.1554, allocations: 7.984 kB / 0.7698 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1554, allocations: 0 / 0.7698 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.1554, allocations: 4 kB / 0.7698 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1555, allocations: 0 / 0.7698 GB, free: 4.418 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 6.168e-05/0.1555, allocations: 114.4 kB / 0.77 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.1555, allocations: 12 kB / 0.77 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.1557, allocations: 49.19 kB / 0.77 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1557, allocations: 3.984 kB / 0.77 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1557, allocations: 0 / 0.77 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1557, allocations: 0 / 0.77 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.553e-05/0.1558, allocations: 157.7 kB / 0.7702 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1558, allocations: 0 / 0.7702 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.1558, allocations: 4 kB / 0.7702 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1558, allocations: 3.938 kB / 0.7702 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.1559, allocations: 0 / 0.7702 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1559, allocations: 4 kB / 0.7702 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1559, allocations: 3.938 kB / 0.7702 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.156, allocations: 81.11 kB / 0.7703 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.156, allocations: 81.02 kB / 0.7703 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1561, allocations: 3.938 kB / 0.7703 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.1561, allocations: 4.031 kB / 0.7703 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.1561, allocations: 3.938 kB / 0.7703 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1561, allocations: 4.062 kB / 0.7704 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.1562, allocations: 87.69 kB / 0.7704 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.442e-06/0.1562, allocations: 0 / 0.7704 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000212/0.1564, allocations: 27.94 kB / 0.7705 GB, free: 3.684 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.0001856/0.1566, allocations: 131.2 kB / 0.7706 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.9e-05/0.1567, allocations: 19.94 kB / 0.7706 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1567, allocations: 0 / 0.7706 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-05/0.1567, allocations: 12.12 kB / 0.7706 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1568, allocations: 4.125 kB / 0.7706 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.1571, allocations: 109.7 kB / 0.7707 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.1573, allocations: 0.6806 MB / 0.7714 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.1573, allocations: 4 kB / 0.7714 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.1573, allocations: 11.44 kB / 0.7714 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of SimCode: time 1.462e-06/0.1574, allocations: 0 / 0.7714 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of Templates: time 0.003111/0.1605, allocations: 1.21 MB / 0.7726 GB, free: 1.473 MB / 0.5606 GB 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)