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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001085/0.001084, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 195 kB / 16.14 MB, free: 6.645 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7869, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003038/0.79, allocations: 1.88 MB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.7917, allocations: 1.236 MB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.7919, allocations: 7.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.7922, allocations: 63.44 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.7923, allocations: 31.72 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.7926, allocations: 147.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.793, allocations: 445 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.7934, allocations: 267.4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.7936, allocations: 155.2 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.7938, allocations: 175 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.7938, allocations: 24 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.164e-05/0.7939, allocations: 28 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.7939, allocations: 83.61 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.7941, allocations: 190.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.7945, allocations: 0.5274 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7945, allocations: 8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.51e-07/0.7945, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.7946, allocations: 0 / 1.022 GB, free: 13.48 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.001162/0.7957, allocations: 0.7368 MB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.7958, allocations: 8.031 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.603e-05/0.7959, allocations: 52.31 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.7963, allocations: 344.2 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.7963, allocations: 29.38 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.7964, allocations: 44.38 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.7971, allocations: 407.6 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7971, allocations: 4.188 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.7971, allocations: 19.94 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.7971, allocations: 8 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005628/0.7977, allocations: 283.8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.7998, allocations: 1.382 MB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.8005, allocations: 250.9 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.8008, allocations: 118.2 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.8008, allocations: 7.984 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.8008, allocations: 34.56 kB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.8009, allocations: 4 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006986/0.8016, allocations: 299.1 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.8016, allocations: 106.8 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.8021, allocations: 401.6 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.8021, allocations: 37.64 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.8023, allocations: 255.6 kB / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.8023, allocations: 74.94 kB / 1.026 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.8024, allocations: 70.02 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8026, allocations: 346.8 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.8029, allocations: 114.1 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.8032, allocations: 200.4 kB / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.8037, allocations: 277 kB / 1.027 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.8037, allocations: 4 kB / 1.027 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000685/0.8044, allocations: 362.4 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.8044, allocations: 8 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.8044, allocations: 0 / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.8044, allocations: 12.16 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.8047, allocations: 71.89 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.8048, allocations: 7.938 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.805, allocations: 55.52 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.805, allocations: 11.98 kB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002837/0.8053, allocations: 200.8 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002603/0.8056, allocations: 195.6 kB / 1.028 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003242/0.8059, allocations: 233.7 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.8059, allocations: 0 / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005026/0.8064, allocations: 321.1 kB / 1.029 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.8065, allocations: 4 kB / 1.029 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.8065, allocations: 4 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.8065, allocations: 4 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.8067, allocations: 63.86 kB / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.8067, allocations: 7.938 kB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.8069, allocations: 39.72 kB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.807, allocations: 12 kB / 1.029 GB, free: 5.66 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.0001285/0.8071, allocations: 196.8 kB / 1.029 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.8072, allocations: 35.56 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.8076, allocations: 238.7 kB / 1.029 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.8077, allocations: 7.984 kB / 1.029 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8077, allocations: 0 / 1.029 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.8077, allocations: 0 / 1.029 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.8089, allocations: 0.7948 MB / 1.03 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8089, allocations: 0 / 1.03 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.8091, allocations: 48.12 kB / 1.03 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8091, allocations: 4 kB / 1.03 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.8091, allocations: 4 kB / 1.03 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8091, allocations: 3.938 kB / 1.03 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8091, allocations: 4 kB / 1.03 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.8098, allocations: 457.1 kB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.782e-05/0.8099, allocations: 128.8 kB / 1.031 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.81, allocations: 11.88 kB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.8102, allocations: 19.98 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.8102, allocations: 23.91 kB / 1.031 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.8102, allocations: 8 kB / 1.031 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002968/0.8105, allocations: 283.2 kB / 1.031 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8105, allocations: 0 / 1.031 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005057/0.811, allocations: 131.4 kB / 1.031 GB, free: 3.16 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.0001637/0.8112, allocations: 115.2 kB / 1.031 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007556/0.812, allocations: 382 kB / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.812, allocations: 0.875 kB / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.8122, allocations: 104 kB / 1.032 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.8128, allocations: 65.52 kB / 1.032 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.8141, allocations: 0.8211 MB / 1.033 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.8145, allocations: 0.796 MB / 1.034 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.8147, allocations: 43.25 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.8148, allocations: 27.44 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8148, allocations: 4 kB / 1.034 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of Templates: time 0.006966/0.8218, allocations: 3.305 MB / 1.037 GB, free: 13.46 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/jenkins/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