Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001163/0.001163, allocations: 112.4 kB / 17.04 MB, free: 5.809 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.001101/0.001101, allocations: 195 kB / 17.98 MB, free: 5.031 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.271/1.271, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7637/0.7637, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 60.12 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3737, allocations: 76.15 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001646/0.3754, allocations: 0.5177 MB / 0.5581 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000554/0.3759, allocations: 325 kB / 0.5584 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.376, allocations: 0 / 0.5584 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.376, allocations: 1.844 kB / 0.5584 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.861e-05/0.3761, allocations: 0 / 0.5584 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.3764, allocations: 103.8 kB / 0.5585 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.807e-05/0.3765, allocations: 8.797 kB / 0.5585 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.3765, allocations: 7.641 kB / 0.5585 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.766e-05/0.3765, allocations: 10.3 kB / 0.5585 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.3766, allocations: 2.656 kB / 0.5585 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3766, allocations: 0.8125 kB / 0.5585 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.3769, allocations: 187.5 kB / 0.5587 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3769, allocations: 4.562 kB / 0.5587 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.3769, allocations: 14.73 kB / 0.5587 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.3771, allocations: 75.52 kB / 0.5588 GB, free: 36.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3771, allocations: 0 / 0.5588 GB, free: 36.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3771, allocations: 1.281 kB / 0.5588 GB, free: 36.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3771, allocations: 0.5312 kB / 0.5588 GB, free: 36.06 MB / 446.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.0002623/0.3774, allocations: 337 kB / 0.5591 GB, free: 35.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.3774, allocations: 10.22 kB / 0.5591 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.3774, allocations: 6 kB / 0.5591 GB, free: 35.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.629e-05/0.3775, allocations: 172.9 kB / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3775, allocations: 5.844 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3776, allocations: 2.938 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.819e-05/0.3776, allocations: 33.33 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3777, allocations: 1.031 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3777, allocations: 4.641 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3777, allocations: 1.5 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.918e-05/0.3777, allocations: 4.547 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.3778, allocations: 152 kB / 0.5595 GB, free: 35.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.3779, allocations: 29.8 kB / 0.5595 GB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.3779, allocations: 7.453 kB / 0.5595 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/0.3783, allocations: 0.5776 MB / 0.5601 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.3784, allocations: 37.31 kB / 0.5601 GB, free: 34.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3784, allocations: 0 / 0.5601 GB, free: 34.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003894/0.3788, allocations: 257.5 kB / 0.5604 GB, free: 34.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.3788, allocations: 52.47 kB / 0.5604 GB, free: 34.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.906e-05/0.3788, allocations: 102.1 kB / 0.5605 GB, free: 34.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.3789, allocations: 29.64 kB / 0.5606 GB, free: 34.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/0.3789, allocations: 81.7 kB / 0.5606 GB, free: 33.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.3789, allocations: 11.94 kB / 0.5606 GB, free: 33.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.3789, allocations: 14.03 kB / 0.5607 GB, free: 33.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.379, allocations: 316.2 kB / 0.561 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.379, allocations: 6.578 kB / 0.561 GB, free: 33.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.379, allocations: 18.61 kB / 0.561 GB, free: 33.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.3791, allocations: 29.83 kB / 0.561 GB, free: 33.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3791, allocations: 5.156 kB / 0.561 GB, free: 33.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.08e-05/0.3792, allocations: 57.16 kB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3792, allocations: 9.75 kB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3792, allocations: 2.438 kB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3792, allocations: 1.125 kB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.565e-05/0.3793, allocations: 6.359 kB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3793, allocations: 1.312 kB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.3793, allocations: 3.219 kB / 0.5611 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.3793, allocations: 1.094 kB / 0.5611 GB, free: 33.55 MB / 446.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 4.507e-05/0.3793, allocations: 109.7 kB / 0.5612 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.3794, allocations: 9.25 kB / 0.5612 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.3795, allocations: 60.44 kB / 0.5613 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3795, allocations: 2.594 kB / 0.5613 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3795, allocations: 0 / 0.5613 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3795, allocations: 0.7031 kB / 0.5613 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.078e-05/0.3796, allocations: 155.4 kB / 0.5614 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3796, allocations: 0 / 0.5614 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.3796, allocations: 7.969 kB / 0.5614 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3796, allocations: 3.938 kB / 0.5614 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3796, allocations: 2.359 kB / 0.5614 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3796, allocations: 0 / 0.5614 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3796, allocations: 1.156 kB / 0.5614 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.3797, allocations: 82.3 kB / 0.5615 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.3798, allocations: 77.95 kB / 0.5616 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.3798, allocations: 9.031 kB / 0.5616 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.3798, allocations: 2.016 kB / 0.5616 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.3798, allocations: 2.281 kB / 0.5616 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3799, allocations: 4.297 kB / 0.5616 GB, free: 33.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.247e-05/0.3799, allocations: 82.12 kB / 0.5617 GB, free: 32.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3799, allocations: 1.688 kB / 0.5617 GB, free: 32.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.3801, allocations: 31.09 kB / 0.5617 GB, free: 32.93 MB / 446.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.0001636/0.3803, allocations: 125.5 kB / 0.5618 GB, free: 32.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.069e-05/0.3804, allocations: 17.94 kB / 0.5618 GB, free: 32.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3804, allocations: 0.9688 kB / 0.5618 GB, free: 32.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.3804, allocations: 19.42 kB / 0.5619 GB, free: 32.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.3805, allocations: 2.734 kB / 0.5619 GB, free: 32.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.3807, allocations: 115.7 kB / 0.562 GB, free: 32.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.102e-05/0.3808, allocations: 0.6781 MB / 0.5626 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.471e-05/0.3809, allocations: 4.312 kB / 0.5626 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.3809, allocations: 9.688 kB / 0.5627 GB, free: 32 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3809, allocations: 1.188 kB / 0.5627 GB, free: 32 MB / 446.1 MB Notification: Performance of Templates: time 0.003516/0.3844, allocations: 1.2 MB / 0.5638 GB, free: 31.97 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)