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.7928/0.7928, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 181 kB / 191.5 MB, free: 5.762 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.45/1.45, allocations: 223.2 MB / 447.7 MB, free: 6.566 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.0009112/0.000911, allocations: 96.27 kB / 0.5188 GB, free: 2.922 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 276 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004724, allocations: 16 kB / 0.6929 GB, free: 2.32 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3954, allocations: 82.79 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5342, allocations: 108.4 MB / 0.8796 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.5345, allocations: 83.83 kB / 0.8797 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006013/0.5405, allocations: 1.825 MB / 0.8815 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.017e-06/0.5406, allocations: 4 kB / 0.8815 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.5406, allocations: 0 / 0.8815 GB, free: 11.75 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.0002754/0.5409, allocations: 335.4 kB / 0.8818 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5409, allocations: 8.031 kB / 0.8818 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.5409, allocations: 11.98 kB / 0.8818 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.681e-05/0.5411, allocations: 163 kB / 0.882 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5411, allocations: 3.953 kB / 0.882 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.5411, allocations: 8 kB / 0.882 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.5412, allocations: 37.62 kB / 0.882 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.5412, allocations: 0 / 0.882 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5412, allocations: 0 / 0.882 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5412, allocations: 0 / 0.882 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.5413, allocations: 4 kB / 0.882 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.5414, allocations: 161.5 kB / 0.8822 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.5415, allocations: 26.58 kB / 0.8822 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005/0.542, allocations: 0.5818 MB / 0.8828 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.542, allocations: 38.5 kB / 0.8828 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.542, allocations: 0 / 0.8828 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0004505/0.5425, allocations: 250.4 kB / 0.883 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.5425, allocations: 55.41 kB / 0.8831 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.5426, allocations: 93.03 kB / 0.8832 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.5426, allocations: 33.64 kB / 0.8832 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.5426, allocations: 80.14 kB / 0.8833 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.5427, allocations: 11.8 kB / 0.8833 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.5427, allocations: 224 / 0.8833 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.5428, allocations: 322.8 kB / 0.8836 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.5428, allocations: 0 / 0.8836 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.5428, allocations: 25.7 kB / 0.8836 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.97e-05/0.5428, allocations: 4 kB / 0.8836 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.5429, allocations: 0 / 0.8836 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.568e-05/0.5429, allocations: 49.64 kB / 0.8837 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.543, allocations: 12.02 kB / 0.8837 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.543, allocations: 0 / 0.8837 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.543, allocations: 7.984 kB / 0.8837 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.5431, allocations: 4 kB / 0.8837 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5431, allocations: 0 / 0.8837 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.5431, allocations: 8 kB / 0.8837 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.5431, allocations: 0 / 0.8837 GB, free: 9.059 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.595e-05/0.5432, allocations: 106.4 kB / 0.8838 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-06/0.5432, allocations: 4 kB / 0.8838 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.5433, allocations: 69.06 kB / 0.8839 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.5433, allocations: 0 / 0.8839 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5433, allocations: 0 / 0.8839 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5433, allocations: 3.938 kB / 0.8839 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.129e-05/0.5434, allocations: 153.7 kB / 0.884 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5434, allocations: 0 / 0.884 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.5435, allocations: 8 kB / 0.884 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5435, allocations: 0 / 0.884 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.5435, allocations: 0 / 0.884 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5435, allocations: 3.953 kB / 0.884 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5435, allocations: 4 kB / 0.8841 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.5436, allocations: 88.95 kB / 0.8841 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.5437, allocations: 77.11 kB / 0.8842 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.5437, allocations: 4 kB / 0.8842 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.284e-05/0.5437, allocations: 0 / 0.8842 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.5438, allocations: 7.984 kB / 0.8842 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.5438, allocations: 0 / 0.8842 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.5438, allocations: 87.33 kB / 0.8843 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5438, allocations: 3.938 kB / 0.8843 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002075/0.544, allocations: 35.94 kB / 0.8843 GB, free: 8.309 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 () * 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 (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.0001981/0.5442, allocations: 135.2 kB / 0.8845 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.147e-05/0.5443, allocations: 15.94 kB / 0.8845 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5443, allocations: 0 / 0.8845 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.5443, allocations: 11.98 kB / 0.8845 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.336e-05/0.5444, allocations: 4 kB / 0.8845 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.5446, allocations: 120.7 kB / 0.8846 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.5448, allocations: 0.6776 MB / 0.8853 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.635e-05/0.5449, allocations: 7.984 kB / 0.8853 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.5449, allocations: 11.44 kB / 0.8853 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.5449, allocations: 0 / 0.8853 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.002852/0.5478, allocations: 1.059 MB / 0.8863 GB, free: 6.246 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)