Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 179.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 12 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.6587, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002144/0.6609, allocations: 1.483 MB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.6629, allocations: 1.24 MB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.6633, allocations: 8 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.6636, allocations: 51.52 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.6639, allocations: 35.72 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.6644, allocations: 139.8 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.6649, allocations: 449 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.6654, allocations: 259.4 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.6656, allocations: 115.2 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.6658, allocations: 143 kB / 1.028 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.6659, allocations: 12 kB / 1.028 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.251e-05/0.6659, allocations: 8 kB / 1.028 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.666, allocations: 63.58 kB / 1.028 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.6662, allocations: 176.6 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.6666, allocations: 448.8 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6666, allocations: 3.938 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.726e-06/0.6667, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.6667, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.7794 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.001252/0.6679, allocations: 0.6725 MB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.668, allocations: 12.03 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.6681, allocations: 56.28 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.6686, allocations: 340.3 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.6686, allocations: 29.38 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.6687, allocations: 40.38 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.6694, allocations: 423.5 kB / 1.03 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6694, allocations: 192 / 1.03 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.6695, allocations: 19.94 kB / 1.03 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.6695, allocations: 8 kB / 1.03 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.6701, allocations: 303.8 kB / 1.03 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.6722, allocations: 1.397 MB / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/0.6729, allocations: 274.9 kB / 1.032 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.6732, allocations: 120.8 kB / 1.032 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.6732, allocations: 4 kB / 1.032 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.6733, allocations: 38.56 kB / 1.032 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.6733, allocations: 4 kB / 1.032 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007104/0.674, allocations: 322.5 kB / 1.032 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.6741, allocations: 106.8 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.6745, allocations: 401.7 kB / 1.033 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.6745, allocations: 33.7 kB / 1.033 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.6747, allocations: 255.6 kB / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.6748, allocations: 67 kB / 1.033 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.6748, allocations: 37.7 kB / 1.033 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.675, allocations: 350.8 kB / 1.033 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.6752, allocations: 112.6 kB / 1.033 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.6756, allocations: 208.4 kB / 1.034 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.6761, allocations: 292.7 kB / 1.034 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6761, allocations: 0 / 1.034 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007258/0.6768, allocations: 390.7 kB / 1.034 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-05/0.6769, allocations: 152 kB / 1.034 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.677, allocations: 4 kB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.677, allocations: 4 kB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.6773, allocations: 79.89 kB / 1.035 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.6773, allocations: 7.938 kB / 1.035 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.6775, allocations: 63.52 kB / 1.035 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.6776, allocations: 11.98 kB / 1.035 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6776, allocations: 5.875 kB / 1.035 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004293/0.678, allocations: 259.6 kB / 1.035 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6781, allocations: 7.938 kB / 1.035 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/0.6781, allocations: 4 kB / 1.035 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.6783, allocations: 59.92 kB / 1.035 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.6783, allocations: 4.203 kB / 1.035 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.6785, allocations: 47.62 kB / 1.035 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.6785, allocations: 19.98 kB / 1.035 GB, free: 3.918 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.6787, allocations: 230.2 kB / 1.035 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.6788, allocations: 35.53 kB / 1.035 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.6793, allocations: 259.2 kB / 1.035 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6793, allocations: 3.938 kB / 1.035 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6794, allocations: 4 kB / 1.035 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6794, allocations: 3.984 kB / 1.035 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.6806, allocations: 0.8166 MB / 1.036 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6806, allocations: 4 kB / 1.036 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.6808, allocations: 43.92 kB / 1.036 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.6808, allocations: 3.984 kB / 1.036 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.6809, allocations: 8.156 kB / 1.036 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.6809, allocations: 8 kB / 1.036 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6809, allocations: 0 / 1.036 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.6816, allocations: 483.1 kB / 1.037 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.6817, allocations: 116.8 kB / 1.037 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.6817, allocations: 8 kB / 1.037 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.6819, allocations: 19.98 kB / 1.037 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.682, allocations: 15.98 kB / 1.037 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.682, allocations: 16.06 kB / 1.037 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000296/0.6823, allocations: 283.2 kB / 1.037 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6823, allocations: 0 / 1.037 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004958/0.6828, allocations: 139.4 kB / 1.037 GB, free: 1.316 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.683, allocations: 115.1 kB / 1.037 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007961/0.6838, allocations: 406.4 kB / 1.038 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6838, allocations: 4.25 kB / 1.038 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.684, allocations: 99.89 kB / 1.038 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.6846, allocations: 73.77 kB / 1.038 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.686, allocations: 0.8519 MB / 1.039 GB, free: 15.72 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.6863, allocations: 0.8038 MB / 1.04 GB, free: 14.89 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/0.6864, allocations: 31.42 kB / 1.04 GB, free: 14.86 MB / 0.795 GB Notification: Performance of SimCode: time 3.7e-07/0.6865, allocations: 0 / 1.04 GB, free: 14.86 MB / 0.795 GB Notification: Performance of Templates: time 0.006631/0.6931, allocations: 4.269 MB / 1.044 GB, free: 10.6 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches