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.414/1.414, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009518/0.000952, allocations: 184.8 kB / 316.3 MB, free: 3.262 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.633/1.633, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009195/0.0009193, allocations: 88.56 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.143e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2648, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8161/1.081, allocations: 134.2 MB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/1.081, allocations: 77.7 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01931/1.101, allocations: 7.964 MB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 9.92e-07/1.101, allocations: 0 / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.123e-05/1.101, allocations: 16 kB / 1.024 GB, free: 12.95 MB / 0.6511 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.0009948/1.102, allocations: 0.6394 MB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.102, allocations: 11.97 kB / 1.025 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.844e-05/1.102, allocations: 58.78 kB / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/1.102, allocations: 378.7 kB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/1.102, allocations: 16 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/1.103, allocations: 24 kB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004232/1.103, allocations: 230.9 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/1.104, allocations: 327.9 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.104, allocations: 7.938 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/1.104, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/1.104, allocations: 12 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/1.106, allocations: 1.531 MB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/1.106, allocations: 276.5 kB / 1.028 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/1.107, allocations: 113.6 kB / 1.028 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/1.107, allocations: 11.97 kB / 1.028 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.107, allocations: 33.81 kB / 1.028 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/1.107, allocations: 0 / 1.028 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0004143/1.107, allocations: 214.3 kB / 1.028 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/1.107, allocations: 110.8 kB / 1.028 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/1.108, allocations: 283.8 kB / 1.028 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/1.108, allocations: 25.7 kB / 1.028 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/1.108, allocations: 245.8 kB / 1.029 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/1.108, allocations: 83.38 kB / 1.029 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/1.108, allocations: 0 / 1.029 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002065/1.108, allocations: 356 kB / 1.029 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/1.108, allocations: 82.94 kB / 1.029 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/1.108, allocations: 160.6 kB / 1.029 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/1.109, allocations: 99.86 kB / 1.029 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.109, allocations: 0 / 1.029 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004328/1.109, allocations: 280.1 kB / 1.03 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002494/1.109, allocations: 0.5279 MB / 1.03 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.109, allocations: 0 / 1.03 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.109, allocations: 4 kB / 1.03 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/1.11, allocations: 75.84 kB / 1.03 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.11, allocations: 3.938 kB / 1.03 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/1.11, allocations: 47.66 kB / 1.03 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/1.11, allocations: 15.27 kB / 1.03 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/1.11, allocations: 4 kB / 1.03 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003045/1.11, allocations: 199.3 kB / 1.03 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/1.11, allocations: 0 / 1.03 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/1.11, allocations: 7.953 kB / 1.03 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/1.111, allocations: 55.91 kB / 1.03 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/1.111, allocations: 11.92 kB / 1.031 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/1.111, allocations: 23.83 kB / 1.031 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.111, allocations: 11.38 kB / 1.031 GB, free: 7.184 MB / 0.6511 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 () * 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.0001043/1.111, allocations: 114.4 kB / 1.031 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/1.111, allocations: 39.41 kB / 1.031 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/1.111, allocations: 32.72 kB / 1.031 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.111, allocations: 7.953 kB / 1.031 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/1.111, allocations: 0 / 1.031 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/1.111, allocations: 3.984 kB / 1.031 GB, free: 7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/1.112, allocations: 0.7704 MB / 1.031 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.112, allocations: 4 kB / 1.031 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/1.112, allocations: 64.06 kB / 1.032 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.112, allocations: 4 kB / 1.032 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/1.112, allocations: 4 kB / 1.032 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/1.112, allocations: 8 kB / 1.032 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.112, allocations: 0 / 1.032 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/1.113, allocations: 0.5719 MB / 1.032 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/1.113, allocations: 123.4 kB / 1.032 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/1.113, allocations: 4 kB / 1.032 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/1.113, allocations: 31.92 kB / 1.032 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/1.113, allocations: 19.11 kB / 1.032 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/1.113, allocations: 8 kB / 1.032 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002401/1.114, allocations: 220.7 kB / 1.033 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/1.114, allocations: 0 / 1.033 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004567/1.114, allocations: 131.2 kB / 1.033 GB, free: 5.203 MB / 0.6511 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 () * 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.0002125/1.114, allocations: 122.4 kB / 1.033 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004867/1.115, allocations: 325.8 kB / 1.033 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.115, allocations: 3.938 kB / 1.033 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/1.115, allocations: 97.61 kB / 1.033 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/1.116, allocations: 81.72 kB / 1.033 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/1.117, allocations: 0.5551 MB / 1.034 GB, free: 4.184 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/1.117, allocations: 0.8233 MB / 1.035 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002359/1.117, allocations: 59.38 kB / 1.035 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/1.117, allocations: 23.44 kB / 1.035 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/1.117, allocations: 3.938 kB / 1.035 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of Templates: time 0.007299/1.125, allocations: 3.581 MB / 1.038 GB, free: 15.72 MB / 0.6667 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