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.001629/0.001629, allocations: 111.1 kB / 16.41 MB, free: 5.992 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.00181/0.00181, allocations: 196.6 kB / 17.34 MB, free: 5.602 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.428/1.428, 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.002562/0.002562, allocations: 291.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 99.83 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5167, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001656/0.5184, allocations: 0.5309 MB / 0.7676 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.519, allocations: 318.9 kB / 0.7679 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.5191, allocations: 4 kB / 0.7679 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.5191, allocations: 0 / 0.7679 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.5191, allocations: 0 / 0.7679 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.5196, allocations: 103.7 kB / 0.768 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.5196, allocations: 8 kB / 0.768 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.5197, allocations: 0 / 0.768 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.5197, allocations: 15.92 kB / 0.768 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.5197, allocations: 3.984 kB / 0.768 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.5197, allocations: 3.938 kB / 0.768 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.52, allocations: 187.7 kB / 0.7682 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.5201, allocations: 4 kB / 0.7682 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.5201, allocations: 7.938 kB / 0.7682 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.5202, allocations: 85.89 kB / 0.7683 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5202, allocations: 0 / 0.7683 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5203, allocations: 0 / 0.7683 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.5203, allocations: 0 / 0.7683 GB, free: 2.656 MB / 0.5294 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.0004007/0.5207, allocations: 342.9 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5207, allocations: 8.031 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.5207, allocations: 0.9375 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5209, allocations: 168.3 kB / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5209, allocations: 4.375 kB / 0.7688 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.5209, allocations: 8.375 kB / 0.7688 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.493e-05/0.521, allocations: 34.25 kB / 0.7688 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.521, allocations: 192 / 0.7688 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.521, allocations: 3.938 kB / 0.7688 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.521, allocations: 4 kB / 0.7688 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/0.5211, allocations: 3.938 kB / 0.7688 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.5212, allocations: 161.6 kB / 0.769 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.09e-05/0.5213, allocations: 22.61 kB / 0.769 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.5213, allocations: 12.92 kB / 0.769 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006578/0.522, allocations: 0.57 MB / 0.7696 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.522, allocations: 38.56 kB / 0.7696 GB, free: 1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.522, allocations: 0 / 0.7696 GB, free: 1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005327/0.5226, allocations: 250.3 kB / 0.7699 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.5226, allocations: 55.39 kB / 0.7699 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.5227, allocations: 97.86 kB / 0.77 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.5227, allocations: 25.7 kB / 0.77 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.5227, allocations: 84.14 kB / 0.7701 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.5228, allocations: 20 kB / 0.7701 GB, free: 404 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.5228, allocations: 21.7 kB / 0.7701 GB, free: 376 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5229, allocations: 310.8 kB / 0.7704 GB, free: 56 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.523, allocations: 8 kB / 0.7704 GB, free: 48 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.365e-05/0.523, allocations: 17.94 kB / 0.7705 GB, free: 24 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.757e-05/0.5231, allocations: 25.72 kB / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5231, allocations: 4 kB / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.709e-05/0.5232, allocations: 57.72 kB / 0.7705 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5232, allocations: 7.938 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5232, allocations: 0 / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.5233, allocations: 7.984 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.5233, allocations: 7.938 kB / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5233, allocations: 3.938 kB / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.5233, allocations: 4 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.5233, allocations: 0 / 0.7706 GB, free: 15.89 MB / 0.545 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 7.912e-05/0.5234, allocations: 109.9 kB / 0.7707 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.5234, allocations: 11.89 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.5236, allocations: 61.11 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5236, allocations: 0 / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5236, allocations: 0 / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5236, allocations: 4 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.5237, allocations: 149.7 kB / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5237, allocations: 0 / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.5237, allocations: 8 kB / 0.7709 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5237, allocations: 7.938 kB / 0.7709 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.5237, allocations: 0 / 0.7709 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5237, allocations: 0 / 0.7709 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5238, allocations: 0 / 0.7709 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.5239, allocations: 85.05 kB / 0.771 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.5239, allocations: 77.11 kB / 0.7711 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.5239, allocations: 7.938 kB / 0.7711 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.524, allocations: 4.031 kB / 0.7711 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.524, allocations: 4.062 kB / 0.7711 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.524, allocations: 3.984 kB / 0.7711 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.524, allocations: 79.28 kB / 0.7712 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.524, allocations: 0 / 0.7712 GB, free: 15.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002285/0.5243, allocations: 31.94 kB / 0.7712 GB, free: 15.16 MB / 0.545 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.0002186/0.5245, allocations: 123.2 kB / 0.7713 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.492e-05/0.5246, allocations: 23.92 kB / 0.7713 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5246, allocations: 4.125 kB / 0.7713 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.5246, allocations: 8 kB / 0.7713 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.5248, allocations: 0 / 0.7713 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.525, allocations: 109.6 kB / 0.7715 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.5253, allocations: 0.6768 MB / 0.7721 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.5253, allocations: 7.938 kB / 0.7721 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.5254, allocations: 7.438 kB / 0.7721 GB, free: 14.14 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.5254, allocations: 0 / 0.7721 GB, free: 14.14 MB / 0.545 GB Notification: Performance of Templates: time 0.004115/0.5295, allocations: 1.23 MB / 0.7733 GB, free: 12.95 MB / 0.545 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)