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.001336/0.001336, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001247/0.001247, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 295.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9608/0.9608, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002978/0.002978, allocations: 87.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5842, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001618/0.5859, allocations: 0.5387 MB / 0.7676 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000646/0.5865, allocations: 322.9 kB / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.5866, allocations: 0 / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.5866, allocations: 3.938 kB / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.829e-05/0.5866, allocations: 4 kB / 0.7679 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.587, allocations: 95.7 kB / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.076e-05/0.5871, allocations: 11.98 kB / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.5872, allocations: 7.984 kB / 0.768 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.5872, allocations: 0 / 0.768 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.324e-05/0.5872, allocations: 7.938 kB / 0.768 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.5873, allocations: 4 kB / 0.768 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.5876, allocations: 191.7 kB / 0.7682 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.5876, allocations: 3.984 kB / 0.7682 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.5876, allocations: 7.922 kB / 0.7682 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.5878, allocations: 79.86 kB / 0.7683 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5878, allocations: 4 kB / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5878, allocations: 0 / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5878, allocations: 0 / 0.7683 GB, free: 2.668 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.0003767/0.5882, allocations: 331.2 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5882, allocations: 12.03 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.5883, allocations: 8.844 kB / 0.7686 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.5884, allocations: 164.4 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.5884, allocations: 8.312 kB / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.5885, allocations: 384 / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.5886, allocations: 34.25 kB / 0.7688 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5886, allocations: 192 / 0.7688 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.5886, allocations: 3.938 kB / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5886, allocations: 0 / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.5886, allocations: 7.938 kB / 0.7688 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.5888, allocations: 157.7 kB / 0.769 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.38e-05/0.5889, allocations: 22.61 kB / 0.769 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.5889, allocations: 12.91 kB / 0.769 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/0.5896, allocations: 0.5778 MB / 0.7696 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5896, allocations: 34.56 kB / 0.7696 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5896, allocations: 0 / 0.7696 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005618/0.5902, allocations: 250.2 kB / 0.7698 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.5902, allocations: 51.41 kB / 0.7699 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.267e-05/0.5903, allocations: 102.1 kB / 0.77 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.5904, allocations: 25.7 kB / 0.77 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.5904, allocations: 84.14 kB / 0.7701 GB, free: 444 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.5904, allocations: 18.36 kB / 0.7701 GB, free: 428 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.5905, allocations: 13.72 kB / 0.7701 GB, free: 408 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5906, allocations: 314.8 kB / 0.7704 GB, free: 84 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.5906, allocations: 4 kB / 0.7704 GB, free: 80 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.5906, allocations: 17.7 kB / 0.7704 GB, free: 56 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/0.5907, allocations: 37.66 kB / 0.7705 GB, free: 12 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5907, allocations: 0 / 0.7705 GB, free: 12 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.5908, allocations: 57.7 kB / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5908, allocations: 7.938 kB / 0.7705 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5908, allocations: 0 / 0.7705 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5909, allocations: 4 kB / 0.7705 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.5909, allocations: 8 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5909, allocations: 8 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.591, allocations: 4 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.591, allocations: 0 / 0.7706 GB, free: 15.91 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.319e-05/0.591, allocations: 112.2 kB / 0.7707 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.5911, allocations: 11.92 kB / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.5912, allocations: 53.45 kB / 0.7707 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.5912, allocations: 4.031 kB / 0.7707 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5912, allocations: 0 / 0.7707 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5912, allocations: 4 kB / 0.7707 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.5913, allocations: 161.7 kB / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5913, allocations: 0 / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.5914, allocations: 4 kB / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5914, allocations: 3.938 kB / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.5914, allocations: 3.984 kB / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5914, allocations: 0 / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5914, allocations: 0 / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.5916, allocations: 81.06 kB / 0.771 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.5916, allocations: 81.17 kB / 0.7711 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.5916, allocations: 3.938 kB / 0.7711 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.5917, allocations: 32 / 0.7711 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.5917, allocations: 7.984 kB / 0.7711 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.5917, allocations: 0 / 0.7711 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.5917, allocations: 83.28 kB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5917, allocations: 0 / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002124/0.5919, allocations: 24 kB / 0.7712 GB, free: 15.19 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.0002046/0.5922, allocations: 127.2 kB / 0.7713 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.076e-05/0.5923, allocations: 23.92 kB / 0.7713 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5923, allocations: 0 / 0.7713 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.55e-05/0.5923, allocations: 8 kB / 0.7713 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.5924, allocations: 0.9375 kB / 0.7713 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.5927, allocations: 139.2 kB / 0.7715 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.5929, allocations: 0.6768 MB / 0.7721 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.593, allocations: 11.56 kB / 0.7721 GB, free: 14.13 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/0.593, allocations: 11.94 kB / 0.7721 GB, free: 14.12 MB / 0.545 GB Notification: Performance of Templates: time 0.002301/0.5953, allocations: 0.8382 MB / 0.773 GB, free: 13.29 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)