Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.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.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001712/0.001712, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.629/1.629, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.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.759/1.759, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001349/0.00135, allocations: 72.42 kB / 0.6708 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2646, allocations: 114.5 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001996/0.2666, allocations: 0.7398 MB / 0.7834 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.2675, allocations: 0.7892 MB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.2675, allocations: 0 / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.2675, allocations: 0 / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.2676, allocations: 4 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.16e-05/0.2677, allocations: 4 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.2677, allocations: 19.92 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2678, allocations: 12 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.2679, allocations: 7.984 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/0.2679, allocations: 19.91 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.268, allocations: 0 / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.268, allocations: 0 / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.268, allocations: 0 / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.268, allocations: 11.94 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.357e-05/0.2681, allocations: 23.91 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2681, allocations: 3.984 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2681, allocations: 0 / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2681, allocations: 0 / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005343/0.2687, allocations: 347.7 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2687, allocations: 8.031 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.2687, allocations: 0.9375 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.2689, allocations: 168.3 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.2689, allocations: 384 / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.269, allocations: 384 / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.2691, allocations: 54.23 kB / 0.7848 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2692, allocations: 192 / 0.7848 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2692, allocations: 7.938 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2692, allocations: 4 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.2693, allocations: 27.97 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.2697, allocations: 256.9 kB / 0.7851 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2698, allocations: 42.44 kB / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.022e-05/0.2699, allocations: 24.89 kB / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2699, allocations: 0 / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.27, allocations: 34.56 kB / 0.7852 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.27, allocations: 0 / 0.7852 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003509/0.2703, allocations: 81.69 kB / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.2704, allocations: 59.39 kB / 0.7854 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.2705, allocations: 97.86 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.2705, allocations: 25.7 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.2705, allocations: 92.08 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.2706, allocations: 7.891 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.2706, allocations: 9.719 kB / 0.7856 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2707, allocations: 314.9 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.2708, allocations: 19.98 kB / 0.7859 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.2709, allocations: 11.98 kB / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.2711, allocations: 44.81 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2711, allocations: 0 / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.2713, allocations: 73.61 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2713, allocations: 7.984 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2713, allocations: 0 / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2713, allocations: 0 / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.2714, allocations: 8 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2714, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.2715, allocations: 8.234 kB / 0.786 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.2715, allocations: 3.984 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.84e-05/0.2716, allocations: 122.5 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.2716, allocations: 7.906 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.2716, allocations: 3.125 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2716, allocations: 0 / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2717, allocations: 3.984 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2717, allocations: 0 / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.2719, allocations: 169.5 kB / 0.7863 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2719, allocations: 0 / 0.7863 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.2719, allocations: 7.984 kB / 0.7864 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.272, allocations: 4 kB / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.272, allocations: 7.938 kB / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.272, allocations: 0 / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.272, allocations: 0 / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.2722, allocations: 167.4 kB / 0.7865 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.2723, allocations: 77.11 kB / 0.7866 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.2723, allocations: 32 / 0.7866 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.2724, allocations: 11.98 kB / 0.7866 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.2724, allocations: 0 / 0.7866 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.2724, allocations: 4 kB / 0.7866 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.2725, allocations: 87.27 kB / 0.7867 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2725, allocations: 0 / 0.7867 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000211/0.2727, allocations: 4 kB / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001326/0.2728, allocations: 95.25 kB / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.2731, allocations: 39.91 kB / 0.7868 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2731, allocations: 4 kB / 0.7868 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.2732, allocations: 19.97 kB / 0.7869 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.2735, allocations: 11.88 kB / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.2738, allocations: 111.6 kB / 0.787 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2741, allocations: 0.6731 MB / 0.7876 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.2741, allocations: 3.984 kB / 0.7876 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.2742, allocations: 11.44 kB / 0.7876 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2742, allocations: 3.938 kB / 0.7876 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of Templates: time 0.002398/0.2766, allocations: 365.7 kB / 0.788 GB, free: 8.129 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)