Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001439/0.001439, allocations: 105.4 kB / 16.35 MB, free: 5.879 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.001558/0.001558, allocations: 194.3 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.85/1.85, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 70.25 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2748, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002142/0.277, allocations: 0.5498 MB / 0.7853 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.2777, allocations: 323.8 kB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.2777, allocations: 0 / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.2777, allocations: 3.938 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.638e-05/0.2778, allocations: 0 / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.2783, allocations: 107.6 kB / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.686e-05/0.2783, allocations: 11.98 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.2784, allocations: 0 / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.496e-05/0.2784, allocations: 4 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.2785, allocations: 7.938 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.2785, allocations: 0 / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.2788, allocations: 195.7 kB / 0.7859 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.2789, allocations: 0 / 0.7859 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.2789, allocations: 15.88 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2791, allocations: 75.86 kB / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2791, allocations: 4 kB / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2791, allocations: 0 / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2791, allocations: 0 / 0.786 GB, free: 1.902 MB / 0.6544 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.0003709/0.2795, allocations: 339.5 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2795, allocations: 8.031 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.2796, allocations: 4.844 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2797, allocations: 168.4 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2797, allocations: 8.25 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.2798, allocations: 384 / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.2799, allocations: 38.27 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2799, allocations: 192 / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2799, allocations: 3.938 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2799, allocations: 7.984 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.2799, allocations: 0 / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.2801, allocations: 153.7 kB / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.2802, allocations: 22.55 kB / 0.7867 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.2802, allocations: 12.92 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/0.2808, allocations: 0.5739 MB / 0.7873 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.2809, allocations: 34.56 kB / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2809, allocations: 0 / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.3887/0.6696, allocations: 258.6 kB / 0.7876 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.6697, allocations: 52.62 kB / 0.7876 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.6698, allocations: 98.72 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.6698, allocations: 25.7 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.6699, allocations: 82.3 kB / 0.7878 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.6699, allocations: 11.8 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.67, allocations: 22.75 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.67, allocations: 310.8 kB / 0.7882 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.6701, allocations: 4.281 kB / 0.7882 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.6701, allocations: 18.7 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.6702, allocations: 31.69 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6702, allocations: 0 / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001299/0.6703, allocations: 57.55 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.6704, allocations: 10.19 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6704, allocations: 0 / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.6704, allocations: 0 / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.6705, allocations: 12.06 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6705, allocations: 0.875 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.6706, allocations: 1.172 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.6706, allocations: 3.375 kB / 0.7883 GB, free: 48.2 MB / 0.6544 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 5.947e-05/0.6707, allocations: 109.8 kB / 0.7884 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.6707, allocations: 6.969 kB / 0.7884 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.6708, allocations: 60.97 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.6709, allocations: 1.938 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.6709, allocations: 0 / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6709, allocations: 4.719 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.671, allocations: 154.4 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.671, allocations: 0.6875 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.5e-05/0.6711, allocations: 5.375 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6711, allocations: 4.531 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.6711, allocations: 6.844 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6711, allocations: 0 / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6711, allocations: 3.031 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.6713, allocations: 77.2 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.6713, allocations: 79.8 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.6714, allocations: 4.656 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.396e-05/0.6714, allocations: 6.25 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.6715, allocations: 7.016 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.6715, allocations: 2.719 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.437e-05/0.6715, allocations: 85.09 kB / 0.7889 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6715, allocations: 0 / 0.7889 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003931/0.6719, allocations: 23.97 kB / 0.7889 GB, free: 47.62 MB / 0.6544 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.0002434/0.6722, allocations: 126.3 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.6723, allocations: 18.47 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6723, allocations: 0.5938 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.6723, allocations: 9.391 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.6726, allocations: 4.594 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.6729, allocations: 111.3 kB / 0.7892 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.673, allocations: 0.6757 MB / 0.7898 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.673, allocations: 6.031 kB / 0.7898 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.6731, allocations: 9.5 kB / 0.7899 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.6731, allocations: 2.438 kB / 0.7899 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.0046/0.6777, allocations: 1.215 MB / 0.791 GB, free: 46.73 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)