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.001157/0.001157, allocations: 104 kB / 15.6 MB, free: 148 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.001233/0.001233, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.223 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.719/2.719, allocations: 437 MB / 0.7103 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7774, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003633/0.7811, allocations: 1.838 MB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.7832, allocations: 1.263 MB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.7836, allocations: 11.94 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.784, allocations: 71.25 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.7843, allocations: 59.41 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.7848, allocations: 163.8 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.7855, allocations: 485.1 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005878/0.7861, allocations: 283.4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.7864, allocations: 175.2 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.7868, allocations: 195 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.7869, allocations: 63.98 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.7871, allocations: 52 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.7872, allocations: 111.6 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.7874, allocations: 202.9 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007808/0.7882, allocations: 0.5627 MB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7882, allocations: 3.938 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7882, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.7883, allocations: 0 / 1.023 GB, free: 13.12 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.001814/0.7901, allocations: 0.7329 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.7901, allocations: 8.031 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.7903, allocations: 52.38 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.7908, allocations: 348.3 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.7908, allocations: 37.38 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.7909, allocations: 40.38 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/0.7917, allocations: 403.5 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.7917, allocations: 192 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.7918, allocations: 19.94 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.7918, allocations: 15.98 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000599/0.7924, allocations: 283.8 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.7947, allocations: 1.37 MB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/0.7955, allocations: 249.1 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.7958, allocations: 122.7 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.7958, allocations: 4 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.7959, allocations: 38.56 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 3.456e-06/0.7959, allocations: 0 / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007416/0.7966, allocations: 300 kB / 1.027 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.7967, allocations: 106.8 kB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.7972, allocations: 405.6 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.7973, allocations: 33.64 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.7975, allocations: 255.7 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.7976, allocations: 74.91 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.7978, allocations: 65.97 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.798, allocations: 346.8 kB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.7983, allocations: 122.1 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.7987, allocations: 212.3 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/0.7992, allocations: 277 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7992, allocations: 0 / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008112/0.8001, allocations: 365.1 kB / 1.029 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.8001, allocations: 4 kB / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.8001, allocations: 4 kB / 1.029 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.8001, allocations: 7.938 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.8004, allocations: 71.89 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.8005, allocations: 7.938 kB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.8008, allocations: 55.5 kB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.8009, allocations: 16 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003582/0.8012, allocations: 200.8 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002458/0.8015, allocations: 187.6 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003545/0.8018, allocations: 233.3 kB / 1.029 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/0.8019, allocations: 3.984 kB / 1.029 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005099/0.8024, allocations: 319.3 kB / 1.03 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.8024, allocations: 8 kB / 1.03 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.8024, allocations: 0 / 1.03 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.8024, allocations: 4 kB / 1.03 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.8026, allocations: 71.78 kB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8027, allocations: 4 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.8029, allocations: 36.05 kB / 1.03 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.8029, allocations: 12 kB / 1.03 GB, free: 5.309 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.0001652/0.8031, allocations: 201.7 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.8031, allocations: 35.53 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.8037, allocations: 240.9 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8037, allocations: 4 kB / 1.03 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.8037, allocations: 4 kB / 1.03 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.8037, allocations: 0 / 1.03 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.8051, allocations: 0.7871 MB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.8051, allocations: 4 kB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.8053, allocations: 47.91 kB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.8054, allocations: 0 / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.8054, allocations: 7.984 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.8054, allocations: 4 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8054, allocations: 0 / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.8063, allocations: 473.3 kB / 1.032 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.8064, allocations: 116.7 kB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.8065, allocations: 8 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.8067, allocations: 19.98 kB / 1.032 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.8067, allocations: 19.92 kB / 1.032 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.8067, allocations: 4 kB / 1.032 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003561/0.8071, allocations: 291.1 kB / 1.032 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8071, allocations: 0 / 1.032 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005565/0.8077, allocations: 135.4 kB / 1.032 GB, free: 2.809 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.0001786/0.8079, allocations: 107.2 kB / 1.032 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009068/0.8088, allocations: 400 kB / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8088, allocations: 0 / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.809, allocations: 99.83 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.8096, allocations: 72.86 kB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.8111, allocations: 0.6694 MB / 1.034 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.8116, allocations: 0.7957 MB / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.8118, allocations: 39.27 kB / 1.034 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.8119, allocations: 35.42 kB / 1.034 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.8119, allocations: 4 kB / 1.034 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of Templates: time 0.008604/0.8205, allocations: 3.469 MB / 1.038 GB, free: 13.09 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