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.LimPIDInitialState.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.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.D.y|limPID.I.y|limPID.D.u|limPI.I.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.D.y|limPID.I.y|limPID.D.u|limPI.I.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001416/0.001416, allocations: 189.6 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008106/0.0008107, allocations: 92.62 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 12.28 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2602, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2084/0.4687, allocations: 134 MB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000429/0.4692, allocations: 83.95 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.4949, allocations: 8.037 MB / 1.039 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.326e-06/0.495, allocations: 0 / 1.039 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.728e-05/0.495, allocations: 8 kB / 1.039 GB, free: 1.59 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001561/0.4966, allocations: 0.7183 MB / 1.04 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4967, allocations: 12.03 kB / 1.04 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.4969, allocations: 51.34 kB / 1.04 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007905/0.4977, allocations: 387.5 kB / 1.04 GB, free: 348 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.4977, allocations: 29 kB / 1.04 GB, free: 320 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.801e-05/0.4978, allocations: 36 kB / 1.04 GB, free: 284 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.4987, allocations: 426.5 kB / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4987, allocations: 0 / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.4988, allocations: 20 kB / 1.041 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.4988, allocations: 12 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.4995, allocations: 311.8 kB / 1.041 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.502, allocations: 1.63 MB / 1.042 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.503, allocations: 367.4 kB / 1.043 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.5031, allocations: 4 kB / 1.043 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.5031, allocations: 34.56 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.5031, allocations: 0 / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.0008603/0.504, allocations: 384.3 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.5041, allocations: 106.8 kB / 1.043 GB, free: 12.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.5046, allocations: 365.1 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.5046, allocations: 33.7 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.5048, allocations: 240.2 kB / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.5049, allocations: 94.64 kB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.5049, allocations: 4 kB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.5052, allocations: 350.8 kB / 1.044 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.5054, allocations: 123.9 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.5058, allocations: 188.7 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.506, allocations: 142.3 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.506, allocations: 0 / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006572/0.5067, allocations: 365.9 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000271/0.507, allocations: 0.5254 MB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.507, allocations: 0 / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.507, allocations: 4 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.5073, allocations: 71.89 kB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.5073, allocations: 11.92 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.5076, allocations: 55.62 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.5076, allocations: 11.98 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/0.5076, allocations: 4 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003732/0.508, allocations: 241.5 kB / 1.046 GB, free: 9.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.508, allocations: 4 kB / 1.046 GB, free: 9.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.508, allocations: 7.984 kB / 1.046 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.5082, allocations: 55.92 kB / 1.046 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5083, allocations: 7.938 kB / 1.046 GB, free: 9.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.5084, allocations: 39.67 kB / 1.046 GB, free: 9.871 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.5084, allocations: 12 kB / 1.046 GB, free: 9.859 MB / 0.698 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 (limPI.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 (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.0002709/0.5087, allocations: 237.2 kB / 1.046 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.5088, allocations: 47.42 kB / 1.046 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.5089, allocations: 43.7 kB / 1.046 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5089, allocations: 4 kB / 1.046 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5089, allocations: 0 / 1.046 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5089, allocations: 0 / 1.046 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.5104, allocations: 0.9075 MB / 1.047 GB, free: 8.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5104, allocations: 0 / 1.047 GB, free: 8.535 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.5107, allocations: 55.91 kB / 1.047 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.5107, allocations: 4 kB / 1.047 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.5107, allocations: 12 kB / 1.047 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5107, allocations: 8.219 kB / 1.047 GB, free: 8.457 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5107, allocations: 11.98 kB / 1.047 GB, free: 8.445 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009345/0.5117, allocations: 0.6683 MB / 1.048 GB, free: 7.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.5118, allocations: 136.5 kB / 1.048 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.5118, allocations: 8 kB / 1.048 GB, free: 7.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.5121, allocations: 31.92 kB / 1.048 GB, free: 7.488 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.5121, allocations: 15.98 kB / 1.048 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.5121, allocations: 15.98 kB / 1.048 GB, free: 7.457 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003466/0.5125, allocations: 287.2 kB / 1.049 GB, free: 7.176 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5125, allocations: 0 / 1.049 GB, free: 7.176 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004729/0.513, allocations: 127.5 kB / 1.049 GB, free: 7.051 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (26): * Single equations (assignments): 26 * 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.0002204/0.5132, allocations: 123.1 kB / 1.049 GB, free: 6.918 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007461/0.5139, allocations: 413 kB / 1.049 GB, free: 6.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.514, allocations: 4 kB / 1.049 GB, free: 6.516 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.5142, allocations: 128.6 kB / 1.049 GB, free: 6.391 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.5148, allocations: 95.45 kB / 1.049 GB, free: 6.301 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.5162, allocations: 0.8884 MB / 1.05 GB, free: 5.359 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.5166, allocations: 0.8235 MB / 1.051 GB, free: 4.512 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.5168, allocations: 43.25 kB / 1.051 GB, free: 4.469 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.5168, allocations: 35.44 kB / 1.051 GB, free: 4.434 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.5169, allocations: 4 kB / 1.051 GB, free: 4.43 MB / 0.698 GB Notification: Performance of Templates: time 0.007421/0.5243, allocations: 3.596 MB / 1.055 GB, free: 0.8711 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches