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.8301/0.8301, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001138/0.001138, allocations: 180.8 kB / 182.2 MB, free: 9.43 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.423/1.423, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009694/0.0009695, allocations: 93.78 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 278.3 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.452e-05/1.429e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4106, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.5386, allocations: 107.7 MB / 0.8625 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.5388, allocations: 79.83 kB / 0.8626 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00583/0.5447, allocations: 1.81 MB / 0.8644 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5447, allocations: 0 / 0.8644 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5447, allocations: 0 / 0.8644 GB, free: 2.273 MB / 0.5261 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.0002857/0.545, allocations: 334.5 kB / 0.8647 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5451, allocations: 11.97 kB / 0.8647 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.5451, allocations: 3.938 kB / 0.8647 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.5452, allocations: 171 kB / 0.8649 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5452, allocations: 7.953 kB / 0.8649 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.5453, allocations: 4 kB / 0.8649 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.554e-05/0.5453, allocations: 7.938 kB / 0.8649 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.241e-05/0.5454, allocations: 29.7 kB / 0.8649 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5454, allocations: 0 / 0.8649 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.5454, allocations: 0 / 0.8649 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.5454, allocations: 0 / 0.8649 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.5456, allocations: 138.2 kB / 0.8651 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/0.5456, allocations: 22.58 kB / 0.8651 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.5456, allocations: 4.859 kB / 0.8651 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/0.5462, allocations: 0.5779 MB / 0.8657 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.5462, allocations: 46.52 kB / 0.8657 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.5462, allocations: 3.938 kB / 0.8657 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005489/0.5468, allocations: 234.4 kB / 0.8659 GB, free: 376 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.5468, allocations: 55.41 kB / 0.866 GB, free: 308 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.5469, allocations: 97.02 kB / 0.8661 GB, free: 204 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.5469, allocations: 25.7 kB / 0.8661 GB, free: 172 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.5469, allocations: 88.27 kB / 0.8662 GB, free: 80 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.547, allocations: 11.75 kB / 0.8662 GB, free: 68 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.547, allocations: 0 / 0.8662 GB, free: 68 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5471, allocations: 314.8 kB / 0.8665 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.5471, allocations: 4 kB / 0.8665 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.5471, allocations: 13.72 kB / 0.8665 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.786e-05/0.5472, allocations: 15.98 kB / 0.8665 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.5472, allocations: 4 kB / 0.8665 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.267e-05/0.5473, allocations: 37.7 kB / 0.8666 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5473, allocations: 8 kB / 0.8666 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5473, allocations: 11.88 kB / 0.8666 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5473, allocations: 3.938 kB / 0.8666 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.5474, allocations: 8 kB / 0.8666 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.5474, allocations: 2.266 kB / 0.8666 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.5474, allocations: 0 / 0.8666 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.5475, allocations: 4 kB / 0.8666 GB, free: 15.63 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.457e-05/0.5475, allocations: 110.1 kB / 0.8667 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.5475, allocations: 0 / 0.8667 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.5477, allocations: 57.73 kB / 0.8668 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5477, allocations: 7.953 kB / 0.8668 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5477, allocations: 0 / 0.8668 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5477, allocations: 0 / 0.8668 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.604e-05/0.5478, allocations: 130.2 kB / 0.8669 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5478, allocations: 3.938 kB / 0.8669 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.5478, allocations: 4 kB / 0.8669 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5479, allocations: 4 kB / 0.8669 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.5479, allocations: 0 / 0.8669 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5479, allocations: 0 / 0.8669 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.5479, allocations: 8 kB / 0.8669 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.548, allocations: 80.98 kB / 0.867 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-05/0.5481, allocations: 77.11 kB / 0.8671 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.5481, allocations: 3.984 kB / 0.8671 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.5481, allocations: 0 / 0.8671 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.5482, allocations: 8.094 kB / 0.8671 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.5482, allocations: 0 / 0.8671 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.031e-05/0.5482, allocations: 83.23 kB / 0.8672 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5482, allocations: 0 / 0.8672 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002231/0.5484, allocations: 39.92 kB / 0.8672 GB, free: 14.93 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.000215/0.5487, allocations: 139.1 kB / 0.8673 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.956e-05/0.5487, allocations: 15.98 kB / 0.8673 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5488, allocations: 0 / 0.8673 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.5488, allocations: 8.125 kB / 0.8673 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.5489, allocations: 0 / 0.8673 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.5491, allocations: 81.89 kB / 0.8674 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.5493, allocations: 0.6844 MB / 0.8681 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.5493, allocations: 4 kB / 0.8681 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.581e-05/0.5494, allocations: 11.44 kB / 0.8681 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.5494, allocations: 0 / 0.8681 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.003128/0.5525, allocations: 1.039 MB / 0.8691 GB, free: 12.92 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)