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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7749/0.7749, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 177.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 98.27 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001985, allocations: 276.9 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.942e-05/3.944e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4573, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.5769, allocations: 108.4 MB / 0.8701 GB, free: 180 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5772, allocations: 79.83 kB / 0.8702 GB, free: 104 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005953/0.5832, allocations: 1.827 MB / 0.872 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5832, allocations: 0 / 0.872 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5832, allocations: 0 / 0.872 GB, free: 14.29 MB / 0.5417 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.000269/0.5835, allocations: 342.5 kB / 0.8723 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.5836, allocations: 8.031 kB / 0.8723 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.5836, allocations: 3.938 kB / 0.8723 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.5837, allocations: 163.1 kB / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.5838, allocations: 3.953 kB / 0.8725 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.5838, allocations: 0 / 0.8725 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.5839, allocations: 37.69 kB / 0.8725 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5839, allocations: 0 / 0.8725 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.5839, allocations: 0 / 0.8725 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5839, allocations: 8 kB / 0.8725 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.584, allocations: 0 / 0.8725 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.5841, allocations: 153.6 kB / 0.8726 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.982e-05/0.5842, allocations: 30.53 kB / 0.8727 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.5842, allocations: 8.812 kB / 0.8727 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/0.5848, allocations: 0.5779 MB / 0.8733 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.5848, allocations: 34.55 kB / 0.8733 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 2.574e-06/0.5849, allocations: 4 kB / 0.8733 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0004909/0.5853, allocations: 250.4 kB / 0.8735 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.5854, allocations: 55.41 kB / 0.8736 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.5855, allocations: 93 kB / 0.8737 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.5855, allocations: 25.7 kB / 0.8737 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.5855, allocations: 84.08 kB / 0.8738 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.5856, allocations: 7.812 kB / 0.8738 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.5856, allocations: 0 / 0.8738 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5857, allocations: 322.8 kB / 0.8741 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.5857, allocations: 4 kB / 0.8741 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.5858, allocations: 21.72 kB / 0.8741 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.5858, allocations: 7.938 kB / 0.8741 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5858, allocations: 0 / 0.8741 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.568e-05/0.5859, allocations: 53.64 kB / 0.8742 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5859, allocations: 8 kB / 0.8742 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5859, allocations: 0 / 0.8742 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5859, allocations: 336 / 0.8742 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.586, allocations: 16 kB / 0.8742 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.586, allocations: 0 / 0.8742 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.586, allocations: 0 / 0.8742 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.586, allocations: 7.984 kB / 0.8742 GB, free: 11.6 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/0.5861, allocations: 105 kB / 0.8743 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.5861, allocations: 7.938 kB / 0.8743 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.5862, allocations: 53.19 kB / 0.8744 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.5862, allocations: 0 / 0.8744 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5862, allocations: 4 kB / 0.8744 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5863, allocations: 0 / 0.8744 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.5864, allocations: 153.7 kB / 0.8745 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5864, allocations: 0 / 0.8745 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.5864, allocations: 11.92 kB / 0.8745 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5864, allocations: 0 / 0.8745 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.5865, allocations: 11.95 kB / 0.8745 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.5865, allocations: 0 / 0.8745 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5865, allocations: 0 / 0.8745 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.5866, allocations: 81.03 kB / 0.8746 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.5867, allocations: 85.08 kB / 0.8747 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.5867, allocations: 0 / 0.8747 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.293e-05/0.5867, allocations: 3.953 kB / 0.8747 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.5867, allocations: 3.984 kB / 0.8747 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.5867, allocations: 4 kB / 0.8747 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.5868, allocations: 75.28 kB / 0.8748 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5868, allocations: 4 kB / 0.8748 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002049/0.587, allocations: 43.88 kB / 0.8748 GB, free: 10.86 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002174/0.5872, allocations: 143.2 kB / 0.875 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.876e-05/0.5873, allocations: 16 kB / 0.875 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5873, allocations: 0 / 0.875 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.5873, allocations: 7.984 kB / 0.875 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.906e-05/0.5874, allocations: 4 kB / 0.875 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.5876, allocations: 81.52 kB / 0.8751 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.5879, allocations: 0.6811 MB / 0.8757 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.588, allocations: 11.98 kB / 0.8757 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.588, allocations: 7.438 kB / 0.8757 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.588, allocations: 0 / 0.8757 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of Templates: time 0.003066/0.5911, allocations: 1.056 MB / 0.8768 GB, free: 8.832 MB / 0.5417 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)