Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 182.1 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 223.2 MB / 0.7948 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001038, allocations: 96.2 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 10.34 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3068, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.4925, allocations: 150.4 MB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.4927, allocations: 79.91 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01559/0.5083, allocations: 6.455 MB / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5084, allocations: 0 / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.5084, allocations: 8 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001031/0.5095, allocations: 0.6781 MB / 1.377 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5095, allocations: 8.031 kB / 1.377 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.886e-05/0.5096, allocations: 63.34 kB / 1.377 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.51, allocations: 322.2 kB / 1.377 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.5101, allocations: 32.94 kB / 1.377 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.5101, allocations: 43.98 kB / 1.377 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.5109, allocations: 411 kB / 1.378 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.5109, allocations: 0 / 1.378 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.511, allocations: 19.94 kB / 1.378 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.511, allocations: 8 kB / 1.378 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.5116, allocations: 307.8 kB / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.5138, allocations: 1.316 MB / 1.379 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006751/0.5145, allocations: 295.1 kB / 1.38 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.5145, allocations: 7.922 kB / 1.38 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.5149, allocations: 197.7 kB / 1.38 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 1.644e-06/0.515, allocations: 0 / 1.38 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.0009433/0.5159, allocations: 394.9 kB / 1.38 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.516, allocations: 132.5 kB / 1.38 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.5165, allocations: 348.8 kB / 1.381 GB, free: 404 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.5165, allocations: 33.7 kB / 1.381 GB, free: 364 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.5167, allocations: 232.2 kB / 1.381 GB, free: 128 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.5168, allocations: 90.72 kB / 1.381 GB, free: 36 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.5168, allocations: 4 kB / 1.381 GB, free: 32 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.517, allocations: 350.8 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.5173, allocations: 108 kB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.5176, allocations: 196.2 kB / 1.382 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.5179, allocations: 137 kB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5179, allocations: 0 / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006805/0.5186, allocations: 369 kB / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002993/0.5189, allocations: 0.5337 MB / 1.383 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.5189, allocations: 4 kB / 1.383 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.5189, allocations: 0 / 1.383 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.5192, allocations: 75.89 kB / 1.383 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.5193, allocations: 7.938 kB / 1.383 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.5195, allocations: 59.52 kB / 1.383 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.5195, allocations: 15.98 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.5196, allocations: 4 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004362/0.52, allocations: 241.3 kB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.52, allocations: 4 kB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/0.52, allocations: 0 / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.5202, allocations: 63.91 kB / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.5203, allocations: 0 / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.5204, allocations: 47.8 kB / 1.383 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.5205, allocations: 12 kB / 1.383 GB, free: 13.76 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0002502/0.5207, allocations: 233 kB / 1.383 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.5208, allocations: 39.53 kB / 1.383 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.5212, allocations: 218.6 kB / 1.384 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5212, allocations: 4 kB / 1.384 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5213, allocations: 3.984 kB / 1.384 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5213, allocations: 0 / 1.384 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.5228, allocations: 1.045 MB / 1.385 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5228, allocations: 4 kB / 1.385 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.5231, allocations: 60.23 kB / 1.385 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.5231, allocations: 12 kB / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.5231, allocations: 12 kB / 1.385 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.5231, allocations: 11.89 kB / 1.385 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5232, allocations: 4 kB / 1.385 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.5242, allocations: 0.792 MB / 1.385 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.5243, allocations: 124.6 kB / 1.386 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.5243, allocations: 15.95 kB / 1.386 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.5246, allocations: 23.98 kB / 1.386 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.5246, allocations: 31.91 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.5247, allocations: 12 kB / 1.386 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000298/0.525, allocations: 283.2 kB / 1.386 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.81e-07/0.525, allocations: 0 / 1.386 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005596/0.5255, allocations: 131.5 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001878/0.5257, allocations: 119 kB / 1.386 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.5265, allocations: 416.9 kB / 1.387 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5266, allocations: 0 / 1.387 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.5268, allocations: 132.6 kB / 1.387 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.5273, allocations: 77.91 kB / 1.387 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.5288, allocations: 0.8674 MB / 1.388 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.5292, allocations: 0.8158 MB / 1.388 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.5294, allocations: 51.38 kB / 1.388 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.5295, allocations: 27.44 kB / 1.388 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of SimCode: time 9.12e-07/0.5295, allocations: 0 / 1.388 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of Templates: time 0.00713/0.5367, allocations: 3.308 MB / 1.392 GB, free: 4.602 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches