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.48/1.48, allocations: 249.3 MB / 261.8 MB, free: 5.926 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.001089/0.001089, allocations: 168.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.000825/0.000825, allocations: 98.5 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.286e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2157, allocations: 106.3 MB / 0.8918 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.715/0.9307, allocations: 133.9 MB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.931, allocations: 76.7 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01947/0.9505, allocations: 8.022 MB / 1.031 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9505, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.14e-05/0.9506, allocations: 12 kB / 1.031 GB, free: 10.01 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.000911/0.9515, allocations: 0.6388 MB / 1.031 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9515, allocations: 15.97 kB / 1.031 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.9517, allocations: 63.27 kB / 1.031 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.9523, allocations: 374 kB / 1.032 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.9523, allocations: 29.72 kB / 1.032 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.9524, allocations: 37.19 kB / 1.032 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.953, allocations: 394.9 kB / 1.032 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.953, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.9531, allocations: 15.06 kB / 1.032 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.9531, allocations: 12 kB / 1.032 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.9535, allocations: 256.8 kB / 1.032 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.9556, allocations: 1.627 MB / 1.034 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.9563, allocations: 286.9 kB / 1.034 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.9565, allocations: 121 kB / 1.034 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.9566, allocations: 7.734 kB / 1.034 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.9566, allocations: 38.5 kB / 1.034 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.9566, allocations: 0 / 1.034 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0004509/0.9571, allocations: 231.8 kB / 1.035 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.9571, allocations: 106.8 kB / 1.035 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.9576, allocations: 364.5 kB / 1.035 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.9576, allocations: 36.58 kB / 1.035 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.9578, allocations: 238.2 kB / 1.035 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.9579, allocations: 96.33 kB / 1.035 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.9579, allocations: 3.438 kB / 1.035 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.958, allocations: 351.5 kB / 1.036 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.9582, allocations: 82.94 kB / 1.036 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.9584, allocations: 173.4 kB / 1.036 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.9586, allocations: 95.5 kB / 1.036 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9586, allocations: 0 / 1.036 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004443/0.959, allocations: 309.5 kB / 1.036 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002346/0.9593, allocations: 0.5318 MB / 1.037 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9593, allocations: 4 kB / 1.037 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.9593, allocations: 0 / 1.037 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.9596, allocations: 75.78 kB / 1.037 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.9596, allocations: 7.953 kB / 1.037 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.9599, allocations: 58.16 kB / 1.037 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.9599, allocations: 11.25 kB / 1.037 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.9599, allocations: 4 kB / 1.037 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003433/0.9603, allocations: 232.1 kB / 1.037 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.9603, allocations: 0 / 1.037 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.9603, allocations: 12.11 kB / 1.037 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.9605, allocations: 58.3 kB / 1.037 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.9605, allocations: 4 kB / 1.037 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.9607, allocations: 42.05 kB / 1.037 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.9607, allocations: 11.31 kB / 1.037 GB, free: 3.969 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.0001007/0.9608, allocations: 116.2 kB / 1.037 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.9609, allocations: 43.44 kB / 1.037 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.961, allocations: 55.97 kB / 1.038 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.961, allocations: 0 / 1.038 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.961, allocations: 0 / 1.038 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.961, allocations: 0 / 1.038 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.9621, allocations: 0.8585 MB / 1.038 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9621, allocations: 0 / 1.038 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.9624, allocations: 63.02 kB / 1.038 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.9624, allocations: 4 kB / 1.038 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.9624, allocations: 7.625 kB / 1.038 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.9624, allocations: 4 kB / 1.038 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.9624, allocations: 12.22 kB / 1.038 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.9631, allocations: 0.5904 MB / 1.039 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.9632, allocations: 131.7 kB / 1.039 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.9633, allocations: 11.94 kB / 1.039 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.9635, allocations: 27.34 kB / 1.039 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.9635, allocations: 27.36 kB / 1.039 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.9635, allocations: 4 kB / 1.039 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000303/0.9638, allocations: 291.4 kB / 1.04 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9639, allocations: 0 / 1.04 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004367/0.9643, allocations: 126 kB / 1.04 GB, free: 1.84 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.0001734/0.9645, allocations: 115.1 kB / 1.04 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.965, allocations: 368.9 kB / 1.04 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.965, allocations: 3.938 kB / 1.04 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.9652, allocations: 106.1 kB / 1.04 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.9657, allocations: 90.58 kB / 1.04 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.9667, allocations: 0.5735 MB / 1.041 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.9672, allocations: 0.8231 MB / 1.042 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002648/0.9675, allocations: 67.36 kB / 1.042 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.9676, allocations: 30.56 kB / 1.042 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.9676, allocations: 0 / 1.042 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of Templates: time 0.00824/0.9758, allocations: 4.179 MB / 1.046 GB, free: 11.71 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