Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.288/1.288, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009334/0.0009334, allocations: 184 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007086/0.0007088, allocations: 99.17 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004085, allocations: 18.66 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 106.3 MB / 0.9013 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.3787, allocations: 134.6 MB / 1.033 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.379, allocations: 79.95 kB / 1.033 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05355/0.4326, allocations: 21.96 MB / 1.054 GB, free: 3.191 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4326, allocations: 0 / 1.054 GB, free: 3.191 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000111/0.4327, allocations: 32 kB / 1.054 GB, free: 3.16 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.003123/0.4359, allocations: 1.493 MB / 1.056 GB, free: 1.605 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4359, allocations: 8.031 kB / 1.056 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.4364, allocations: 155.1 kB / 1.056 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.4381, allocations: 0.8093 MB / 1.057 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.151e-05/0.4382, allocations: 82.45 kB / 1.057 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.4385, allocations: 112.4 kB / 1.057 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4496/0.8881, allocations: 1.119 MB / 1.058 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.8882, allocations: 1.438 kB / 1.058 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.8882, allocations: 47.39 kB / 1.058 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.8883, allocations: 27.56 kB / 1.058 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.8903, allocations: 0.9024 MB / 1.059 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005676/0.8959, allocations: 3.958 MB / 1.063 GB, free: 139.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.8983, allocations: 1.128 MB / 1.064 GB, free: 139.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009492/0.8992, allocations: 482 kB / 1.064 GB, free: 139.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.826e-05/0.8993, allocations: 12.61 kB / 1.064 GB, free: 139.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.9005, allocations: 480.1 kB / 1.065 GB, free: 139.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 3.887e-06/0.9005, allocations: 0 / 1.065 GB, free: 139.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.00279/0.9033, allocations: 1.188 MB / 1.066 GB, free: 139.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.9034, allocations: 218.3 kB / 1.066 GB, free: 139.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.9049, allocations: 0.8854 MB / 1.067 GB, free: 139.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/0.905, allocations: 44.17 kB / 1.067 GB, free: 139.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.9055, allocations: 0.536 MB / 1.068 GB, free: 138.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.9057, allocations: 301.2 kB / 1.068 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.9057, allocations: 18.44 kB / 1.068 GB, free: 138.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.9058, allocations: 336.2 kB / 1.068 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008/0.9066, allocations: 351 kB / 1.069 GB, free: 138.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009575/0.9076, allocations: 0.5135 MB / 1.069 GB, free: 138.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.9093, allocations: 0.7711 MB / 1.07 GB, free: 138.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9093, allocations: 0.8125 kB / 1.07 GB, free: 138.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002135/0.9114, allocations: 0.9987 MB / 1.071 GB, free: 138.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/0.9115, allocations: 124.3 kB / 1.071 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9115, allocations: 0.7188 kB / 1.071 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.9115, allocations: 5.531 kB / 1.071 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/0.9124, allocations: 213.8 kB / 1.071 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.9125, allocations: 5.859 kB / 1.071 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.9131, allocations: 156.7 kB / 1.071 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.9132, allocations: 30.53 kB / 1.071 GB, free: 138 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.9132, allocations: 4.859 kB / 1.071 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/0.9146, allocations: 0.6926 MB / 1.072 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.9146, allocations: 0.9062 kB / 1.072 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.9146, allocations: 5.688 kB / 1.072 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/0.9153, allocations: 173.2 kB / 1.072 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.9153, allocations: 5.859 kB / 1.072 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.9158, allocations: 120.9 kB / 1.072 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.9158, allocations: 30.59 kB / 1.072 GB, free: 137.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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 0.0005653/0.9164, allocations: 331.8 kB / 1.073 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.9166, allocations: 115.5 kB / 1.073 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.9168, allocations: 121.4 kB / 1.073 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.9168, allocations: 9.312 kB / 1.073 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.9169, allocations: 0.8125 kB / 1.073 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.9169, allocations: 5.688 kB / 1.073 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.9184, allocations: 0.9957 MB / 1.074 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.9184, allocations: 2.156 kB / 1.074 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.9191, allocations: 192.5 kB / 1.074 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.9191, allocations: 3.281 kB / 1.074 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.9192, allocations: 20.75 kB / 1.074 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.9192, allocations: 9.594 kB / 1.074 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.9192, allocations: 0 / 1.074 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.9219, allocations: 1.371 MB / 1.075 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.9221, allocations: 196.9 kB / 1.076 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.9222, allocations: 19.95 kB / 1.076 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/0.9227, allocations: 82.94 kB / 1.076 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.9228, allocations: 54.48 kB / 1.076 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.9229, allocations: 30.58 kB / 1.076 GB, free: 137.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008629/0.9237, allocations: 0.6029 MB / 1.076 GB, free: 136.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9238, allocations: 0 / 1.076 GB, free: 136.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009655/0.9247, allocations: 375.4 kB / 1.077 GB, free: 136.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002353/0.925, allocations: 138.1 kB / 1.077 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.9274, allocations: 1.219 MB / 1.078 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9275, allocations: 5.562 kB / 1.078 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.9283, allocations: 431.3 kB / 1.078 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.9294, allocations: 256.6 kB / 1.079 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.9325, allocations: 2.275 MB / 1.081 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.9332, allocations: 1.083 MB / 1.082 GB, free: 134.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005831/0.9337, allocations: 136.9 kB / 1.082 GB, free: 134.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.934, allocations: 79.78 kB / 1.082 GB, free: 134.8 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.934, allocations: 0.5 kB / 1.082 GB, free: 134.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01801/0.952, allocations: 10.54 MB / 1.092 GB, free: 134.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)