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.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.533/1.533, allocations: 285.4 MB / 298 MB, free: 5.984 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.001175/0.001174, allocations: 176.8 kB / 366.4 MB, free: 2.086 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.844/1.844, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 92.59 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.092e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8263, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/1.039, allocations: 138.9 MB / 1.107 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.039, allocations: 75.94 kB / 1.107 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01693/1.056, allocations: 6.42 MB / 1.113 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/1.056, allocations: 0 / 1.113 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.657e-05/1.056, allocations: 12 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001082/1.057, allocations: 0.6237 MB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.057, allocations: 8.031 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/1.057, allocations: 47.44 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007554/1.058, allocations: 374.7 kB / 1.114 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/1.058, allocations: 28.78 kB / 1.114 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/1.058, allocations: 39.98 kB / 1.114 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/1.059, allocations: 359.9 kB / 1.114 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/1.059, allocations: 0 / 1.114 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/1.059, allocations: 19.94 kB / 1.114 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/1.059, allocations: 8 kB / 1.114 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/1.06, allocations: 239.1 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/1.062, allocations: 1.28 MB / 1.116 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/1.062, allocations: 219 kB / 1.116 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/1.063, allocations: 118.7 kB / 1.116 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/1.063, allocations: 7.984 kB / 1.116 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/1.063, allocations: 163.5 kB / 1.116 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 2.295e-06/1.063, allocations: 0 / 1.116 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0005395/1.063, allocations: 224.5 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.064, allocations: 136.5 kB / 1.117 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/1.064, allocations: 350.8 kB / 1.117 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/1.064, allocations: 35.67 kB / 1.117 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/1.064, allocations: 236 kB / 1.117 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/1.064, allocations: 82.75 kB / 1.117 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/1.064, allocations: 8 kB / 1.117 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.065, allocations: 350.8 kB / 1.118 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/1.065, allocations: 76.56 kB / 1.118 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/1.065, allocations: 157.6 kB / 1.118 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/1.065, allocations: 97.47 kB / 1.118 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.065, allocations: 0 / 1.118 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004988/1.066, allocations: 294.2 kB / 1.118 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002644/1.066, allocations: 0.5273 MB / 1.119 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.066, allocations: 0 / 1.119 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.066, allocations: 4 kB / 1.119 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/1.066, allocations: 67.89 kB / 1.119 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.066, allocations: 7.953 kB / 1.119 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/1.067, allocations: 55.67 kB / 1.119 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/1.067, allocations: 4 kB / 1.119 GB, free: 8 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/1.067, allocations: 4 kB / 1.119 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003863/1.067, allocations: 228.6 kB / 1.119 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.067, allocations: 3.984 kB / 1.119 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/1.067, allocations: 5.688 kB / 1.119 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/1.067, allocations: 47.92 kB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.067, allocations: 4 kB / 1.119 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/1.068, allocations: 49.67 kB / 1.119 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/1.068, allocations: 10.42 kB / 1.119 GB, free: 15.67 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.000115/1.068, allocations: 116.9 kB / 1.119 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/1.068, allocations: 47.42 kB / 1.119 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/1.068, allocations: 39.39 kB / 1.119 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.068, allocations: 7.984 kB / 1.119 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.068, allocations: 0 / 1.119 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.068, allocations: 4 kB / 1.119 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/1.069, allocations: 0.8984 MB / 1.12 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.069, allocations: 5.562 kB / 1.12 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/1.069, allocations: 55.91 kB / 1.12 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/1.069, allocations: 4 kB / 1.12 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/1.069, allocations: 8 kB / 1.12 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/1.069, allocations: 0 / 1.12 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.07, allocations: 9.812 kB / 1.12 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008123/1.07, allocations: 0.6574 MB / 1.121 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.07, allocations: 128.6 kB / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/1.071, allocations: 12 kB / 1.121 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/1.071, allocations: 19.98 kB / 1.121 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/1.071, allocations: 19.97 kB / 1.121 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.071, allocations: 15.98 kB / 1.121 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003636/1.071, allocations: 281.2 kB / 1.122 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.071, allocations: 4 kB / 1.122 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000529/1.072, allocations: 130.5 kB / 1.122 GB, free: 13.02 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0002414/1.072, allocations: 119.1 kB / 1.122 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006245/1.073, allocations: 343.7 kB / 1.122 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.073, allocations: 0.5 kB / 1.122 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/1.073, allocations: 99.81 kB / 1.122 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/1.073, allocations: 66.03 kB / 1.122 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/1.075, allocations: 0.5496 MB / 1.123 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/1.075, allocations: 0.8121 MB / 1.124 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002903/1.075, allocations: 70.09 kB / 1.124 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/1.075, allocations: 27.42 kB / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/1.075, allocations: 0 / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.008221/1.084, allocations: 3.747 MB / 1.127 GB, free: 7.211 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)