Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.769/2.769, allocations: 287.5 MB / 303.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 177.9 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 0.6305 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008827/0.0008826, allocations: 90.41 kB / 0.7438 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.000484, allocations: 14.67 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9454/1.172, allocations: 137.3 MB / 1.113 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.172, allocations: 76.08 kB / 1.113 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002443/1.175, allocations: 0.5828 MB / 1.114 GB, free: 31.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/1.175, allocations: 0 / 1.114 GB, free: 31.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.031e-05/1.175, allocations: 3.906 kB / 1.114 GB, free: 31.49 MB / 0.698 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.0004589/1.175, allocations: 343.1 kB / 1.114 GB, free: 31.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.175, allocations: 11.69 kB / 1.114 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/1.175, allocations: 4.844 kB / 1.114 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.176, allocations: 166.7 kB / 1.115 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/1.176, allocations: 8.172 kB / 1.115 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/1.176, allocations: 384 / 1.115 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/1.176, allocations: 59.22 kB / 1.115 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.176, allocations: 192 / 1.115 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.176, allocations: 3.938 kB / 1.115 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.176, allocations: 0 / 1.115 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/1.176, allocations: 48.61 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/1.177, allocations: 272.4 kB / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/1.177, allocations: 51.38 kB / 1.115 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/1.177, allocations: 21.3 kB / 1.115 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/1.177, allocations: 3.844 kB / 1.115 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.177, allocations: 35.16 kB / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/1.177, allocations: 0 / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000535/1.178, allocations: 103.2 kB / 1.115 GB, free: 30.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/1.178, allocations: 52.58 kB / 1.115 GB, free: 30.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/1.178, allocations: 101.1 kB / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/1.178, allocations: 33.67 kB / 1.115 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/1.178, allocations: 81.83 kB / 1.115 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/1.178, allocations: 6.344 kB / 1.115 GB, free: 30.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/1.178, allocations: 0 / 1.115 GB, free: 30.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.178, allocations: 315.3 kB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/1.178, allocations: 21.75 kB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/1.178, allocations: 27.23 kB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/1.179, allocations: 45.98 kB / 1.116 GB, free: 29.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.179, allocations: 4.062 kB / 1.116 GB, free: 29.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003318/1.179, allocations: 84.89 kB / 1.116 GB, free: 29.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.179, allocations: 3.656 kB / 1.116 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.179, allocations: 0 / 1.116 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.179, allocations: 5.297 kB / 1.116 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/1.179, allocations: 18.47 kB / 1.116 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.179, allocations: 0 / 1.116 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/1.179, allocations: 6.516 kB / 1.116 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/1.179, allocations: 0 / 1.116 GB, free: 29.84 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/1.18, allocations: 117.6 kB / 1.116 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/1.18, allocations: 0 / 1.116 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/1.18, allocations: 12.47 kB / 1.116 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.18, allocations: 4 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.18, allocations: 0 / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.18, allocations: 4.406 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/1.18, allocations: 157.6 kB / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.18, allocations: 0 / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.885e-05/1.18, allocations: 10.94 kB / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.18, allocations: 3.875 kB / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/1.18, allocations: 4 kB / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.18, allocations: 1.734 kB / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.18, allocations: 7.938 kB / 1.116 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/1.18, allocations: 177.7 kB / 1.116 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/1.181, allocations: 77.11 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/1.181, allocations: 5.484 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/1.181, allocations: 9.281 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/1.181, allocations: 1.359 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/1.181, allocations: 0 / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.818e-05/1.181, allocations: 83.88 kB / 1.117 GB, free: 29.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.181, allocations: 0 / 1.117 GB, free: 29.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003335/1.181, allocations: 3.906 kB / 1.117 GB, free: 29.2 MB / 0.698 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 (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.0001584/1.181, allocations: 100.3 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003561/1.182, allocations: 54.59 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.182, allocations: 0 / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/1.182, allocations: 28.69 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/1.182, allocations: 3.938 kB / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/1.183, allocations: 110.7 kB / 1.117 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/1.183, allocations: 0.6797 MB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.06e-05/1.183, allocations: 4.062 kB / 1.118 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/1.183, allocations: 8.375 kB / 1.118 GB, free: 28.29 MB / 0.698 GB Notification: Performance of SimCode: time 9.61e-07/1.183, allocations: 0 / 1.118 GB, free: 28.29 MB / 0.698 GB Notification: Performance of Templates: time 0.003056/1.186, allocations: 360.4 kB / 1.118 GB, free: 28.24 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)