Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.0009722/0.0009725, allocations: 178.9 kB / 372.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 0.6317 GB, free: 9.855 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.0007316/0.0007316, allocations: 96.97 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 15 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6165/0.8139, allocations: 137.5 MB / 1.115 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.8142, allocations: 68.25 kB / 1.115 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001834/0.816, allocations: 0.5926 MB / 1.116 GB, free: 32.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.557e-06/0.816, allocations: 0 / 1.116 GB, free: 32.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.8161, allocations: 3.938 kB / 1.116 GB, free: 32.1 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.0003205/0.8164, allocations: 332.3 kB / 1.116 GB, free: 31.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.8164, allocations: 11.5 kB / 1.116 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.8165, allocations: 4.844 kB / 1.116 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.8166, allocations: 182.8 kB / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.8166, allocations: 7.438 kB / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.8166, allocations: 384 / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.8168, allocations: 50.91 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8168, allocations: 192 / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.8169, allocations: 3.938 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8169, allocations: 3.906 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.817, allocations: 45.5 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.8174, allocations: 268.3 kB / 1.117 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.8176, allocations: 50.62 kB / 1.117 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/0.8177, allocations: 26.06 kB / 1.117 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.8177, allocations: 4 kB / 1.117 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.8177, allocations: 30.56 kB / 1.117 GB, free: 31.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.8177, allocations: 0 / 1.117 GB, free: 31.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003776/0.8181, allocations: 107 kB / 1.117 GB, free: 31.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.8182, allocations: 55.34 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.8183, allocations: 103.5 kB / 1.117 GB, free: 30.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.8183, allocations: 25.7 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.8183, allocations: 83.45 kB / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.8184, allocations: 7.031 kB / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.8184, allocations: 0 / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8185, allocations: 320.1 kB / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.8186, allocations: 21.95 kB / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.8187, allocations: 20.19 kB / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.8188, allocations: 54.75 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8188, allocations: 0 / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001782/0.819, allocations: 76.77 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8191, allocations: 10.67 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8191, allocations: 3.938 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.8191, allocations: 0 / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.8192, allocations: 10.64 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.8192, allocations: 0 / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.8193, allocations: 13.34 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.8193, allocations: 6.516 kB / 1.118 GB, free: 30.45 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 8.186e-05/0.8194, allocations: 109.8 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.8194, allocations: 3.844 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.8194, allocations: 6.25 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8194, allocations: 0 / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8194, allocations: 3.938 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.8194, allocations: 0 / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.8196, allocations: 164.5 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8196, allocations: 0 / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.8197, allocations: 14.53 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8197, allocations: 0 / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.8197, allocations: 1.859 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8197, allocations: 0 / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8197, allocations: 3.562 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.82, allocations: 180.2 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.82, allocations: 80.77 kB / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.8201, allocations: 0 / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.8202, allocations: 7.203 kB / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.8202, allocations: 10 kB / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.8202, allocations: 3.875 kB / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.8203, allocations: 83.19 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.8203, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001954/0.8205, allocations: 3.781 kB / 1.118 GB, free: 29.82 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.0001671/0.8206, allocations: 104.9 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.8209, allocations: 47.66 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8209, allocations: 0 / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.821, allocations: 25.36 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.8213, allocations: 11.38 kB / 1.118 GB, free: 29.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.8216, allocations: 113.9 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.8218, allocations: 0.676 MB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.8219, allocations: 0 / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.8219, allocations: 7.438 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.8219, allocations: 0 / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of Templates: time 0.002032/0.8239, allocations: 368.6 kB / 1.119 GB, free: 28.86 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)