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.001685/0.001685, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001926/0.001926, allocations: 196.3 kB / 16.91 MB, free: 6.191 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.507/1.507, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.715/1.715, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001407/0.001407, allocations: 74.14 kB / 0.6717 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2929, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002169/0.2951, allocations: 0.7398 MB / 0.7843 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2962, allocations: 0.7776 MB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.2962, allocations: 4 kB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.2963, allocations: 3.938 kB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.2964, allocations: 0 / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.362e-05/0.2964, allocations: 4 kB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.2965, allocations: 31.86 kB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2967, allocations: 11.98 kB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.093e-05/0.2967, allocations: 11.98 kB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.2968, allocations: 15.92 kB / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.2968, allocations: 4 kB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.2968, allocations: 0 / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.2968, allocations: 0 / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.2969, allocations: 11.94 kB / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.831e-05/0.2969, allocations: 19.97 kB / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.297, allocations: 0 / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.297, allocations: 0 / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.297, allocations: 4 kB / 0.7851 GB, free: 12.22 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.0005146/0.2975, allocations: 335.7 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2975, allocations: 12.03 kB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.2976, allocations: 0.9375 kB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.2977, allocations: 176.2 kB / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.2977, allocations: 384 / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.2978, allocations: 384 / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2979, allocations: 54.23 kB / 0.7857 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.298, allocations: 4.125 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.298, allocations: 3.938 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.298, allocations: 0 / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2981, allocations: 31.97 kB / 0.7857 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.2985, allocations: 256.9 kB / 0.786 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2986, allocations: 42.5 kB / 0.786 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.2987, allocations: 20.91 kB / 0.786 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.2987, allocations: 3.938 kB / 0.786 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2988, allocations: 30.56 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.2988, allocations: 0 / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003388/0.2991, allocations: 89.58 kB / 0.7861 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.2992, allocations: 51.41 kB / 0.7862 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.2993, allocations: 105.8 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.2993, allocations: 25.7 kB / 0.7863 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.2993, allocations: 84.14 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.2994, allocations: 7.906 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.2994, allocations: 9.719 kB / 0.7864 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2995, allocations: 323 kB / 0.7867 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.2996, allocations: 15.98 kB / 0.7867 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.2997, allocations: 15.98 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.2998, allocations: 40.81 kB / 0.7868 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2998, allocations: 64 / 0.7868 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.3, allocations: 73.55 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3, allocations: 4 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3, allocations: 0 / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3, allocations: 3.984 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.3001, allocations: 11.98 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3002, allocations: 0 / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.3002, allocations: 7.984 kB / 0.7869 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3002, allocations: 4.031 kB / 0.7869 GB, free: 10.18 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 9.172e-05/0.3003, allocations: 114.4 kB / 0.787 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3004, allocations: 7.906 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.3004, allocations: 3.375 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3004, allocations: 0 / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3004, allocations: 4 kB / 0.787 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3004, allocations: 0 / 0.787 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3006, allocations: 165.5 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3006, allocations: 0 / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.3007, allocations: 15.98 kB / 0.7872 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3007, allocations: 0 / 0.7872 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3007, allocations: 0 / 0.7872 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3007, allocations: 0 / 0.7872 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3007, allocations: 7.875 kB / 0.7872 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.3009, allocations: 167.4 kB / 0.7874 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.3009, allocations: 85.14 kB / 0.7874 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.301, allocations: 0 / 0.7874 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.301, allocations: 7.984 kB / 0.7874 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3011, allocations: 4 kB / 0.7875 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.3011, allocations: 0 / 0.7875 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.3011, allocations: 79.28 kB / 0.7875 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.3011, allocations: 0 / 0.7875 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002063/0.3014, allocations: 4 kB / 0.7875 GB, free: 9.434 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.0001397/0.3015, allocations: 107.2 kB / 0.7876 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3017, allocations: 39.91 kB / 0.7877 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3017, allocations: 0 / 0.7877 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.832e-05/0.3018, allocations: 15.98 kB / 0.7877 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3022, allocations: 18.73 kB / 0.7877 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.3025, allocations: 143.2 kB / 0.7878 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.3028, allocations: 0.6729 MB / 0.7885 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.3028, allocations: 7.438 kB / 0.7885 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3028, allocations: 0 / 0.7885 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of Templates: time 0.001848/0.3046, allocations: 0.5628 MB / 0.7891 GB, free: 7.805 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)