Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 106.4 kB / 15.99 MB, free: 6.348 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.001463/0.001463, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.56/2.56, allocations: 469.8 MB / 0.7427 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001867, allocations: 68.97 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2931, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.00509/0.2982, allocations: 3.592 MB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.3014, allocations: 2.085 MB / 1.07 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.3018, allocations: 19.94 kB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.3022, allocations: 134.8 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.3025, allocations: 91.3 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.3035, allocations: 442.8 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.3047, allocations: 1.256 MB / 1.072 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008269/0.3056, allocations: 0.5955 MB / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.306, allocations: 446.2 kB / 1.073 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.3065, allocations: 481.5 kB / 1.073 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.3066, allocations: 135.9 kB / 1.073 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3068, allocations: 144 kB / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.3071, allocations: 251.2 kB / 1.074 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004378/0.3075, allocations: 0.5012 MB / 1.074 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.3085, allocations: 1.103 MB / 1.075 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3086, allocations: 3.984 kB / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3086, allocations: 0 / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.3086, allocations: 0 / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00243/0.311, allocations: 1.364 MB / 1.076 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3111, allocations: 12.56 kB / 1.076 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.3113, allocations: 119.5 kB / 1.077 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.312, allocations: 0.5908 MB / 1.077 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.3121, allocations: 70.38 kB / 1.077 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.3123, allocations: 100.3 kB / 1.077 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.3138, allocations: 0.8563 MB / 1.078 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.3138, allocations: 4.125 kB / 1.078 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/0.3139, allocations: 47.91 kB / 1.078 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.3139, allocations: 20 kB / 1.078 GB, free: 484 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4408/0.7547, allocations: 0.6312 MB / 1.079 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004781/0.7595, allocations: 2.99 MB / 1.082 GB, free: 20.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.761, allocations: 0.6748 MB / 1.082 GB, free: 20.42 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.7616, allocations: 380.5 kB / 1.083 GB, free: 20.28 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-05/0.7616, allocations: 9.922 kB / 1.083 GB, free: 20.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007514/0.7624, allocations: 345 kB / 1.083 GB, free: 20.13 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.715e-06/0.7624, allocations: 1.031 kB / 1.083 GB, free: 20.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001698/0.7641, allocations: 0.8291 MB / 1.084 GB, free: 19.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.7642, allocations: 198.2 kB / 1.084 GB, free: 19.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/0.7651, allocations: 0.6785 MB / 1.085 GB, free: 19.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.7652, allocations: 43.31 kB / 1.085 GB, free: 19.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.7654, allocations: 433.6 kB / 1.085 GB, free: 18.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.7656, allocations: 231.3 kB / 1.085 GB, free: 18.74 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.7658, allocations: 146.3 kB / 1.086 GB, free: 18.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.7659, allocations: 337 kB / 1.086 GB, free: 18.35 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.7665, allocations: 297.2 kB / 1.086 GB, free: 18.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007407/0.7672, allocations: 482.5 kB / 1.087 GB, free: 17.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.7684, allocations: 0.6703 MB / 1.087 GB, free: 17.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.7684, allocations: 1.438 kB / 1.087 GB, free: 17.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0017/0.7701, allocations: 0.8808 MB / 1.088 GB, free: 17.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.7702, allocations: 39.67 kB / 1.088 GB, free: 17.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.7702, allocations: 3.719 kB / 1.088 GB, free: 17.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.7702, allocations: 6.797 kB / 1.088 GB, free: 17.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.7708, allocations: 163.9 kB / 1.088 GB, free: 17.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.7709, allocations: 10.95 kB / 1.088 GB, free: 17.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.7715, allocations: 136 kB / 1.089 GB, free: 17.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.7716, allocations: 34.58 kB / 1.089 GB, free: 17.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006274/0.7723, allocations: 396.8 kB / 1.089 GB, free: 16.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005337/0.7728, allocations: 414.8 kB / 1.089 GB, free: 16.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000708/0.7735, allocations: 0.5713 MB / 1.09 GB, free: 16.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.7735, allocations: 9 kB / 1.09 GB, free: 16.17 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001266/0.7748, allocations: 0.7574 MB / 1.091 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.7748, allocations: 42.05 kB / 1.091 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7749, allocations: 3.375 kB / 1.091 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.7749, allocations: 9.938 kB / 1.091 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.7754, allocations: 133.7 kB / 1.091 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.7754, allocations: 7.859 kB / 1.091 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.776, allocations: 118.5 kB / 1.091 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.7761, allocations: 31.39 kB / 1.091 GB, free: 15.71 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0002046/0.7763, allocations: 232.2 kB / 1.091 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.7764, allocations: 78.77 kB / 1.091 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.7777, allocations: 0.6623 MB / 1.092 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7778, allocations: 6 kB / 1.092 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7778, allocations: 0.5312 kB / 1.092 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.7778, allocations: 4.703 kB / 1.092 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.7802, allocations: 1.66 MB / 1.094 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.7802, allocations: 2.656 kB / 1.094 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.7807, allocations: 139.2 kB / 1.094 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.7808, allocations: 8.969 kB / 1.094 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.7808, allocations: 16.25 kB / 1.094 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/0.7808, allocations: 5.922 kB / 1.094 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7808, allocations: 2.781 kB / 1.094 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.7825, allocations: 1.088 MB / 1.095 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.7827, allocations: 173.9 kB / 1.095 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.7828, allocations: 19.48 kB / 1.095 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.7832, allocations: 45.39 kB / 1.095 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.7832, allocations: 46.62 kB / 1.095 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.7833, allocations: 27.81 kB / 1.095 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005792/0.7839, allocations: 478.8 kB / 1.096 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7839, allocations: 0 / 1.096 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009134/0.7848, allocations: 323.1 kB / 1.096 GB, free: 13.19 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001844/0.785, allocations: 137 kB / 1.096 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.7872, allocations: 1.175 MB / 1.097 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7872, allocations: 0.5938 kB / 1.097 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.7877, allocations: 322.9 kB / 1.097 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.7887, allocations: 184 kB / 1.098 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.7908, allocations: 1.884 MB / 1.099 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.7913, allocations: 0.98 MB / 1.1 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.7915, allocations: 65.72 kB / 1.1 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of SimCode: time 1.202e-06/0.7915, allocations: 0 / 1.1 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.01985/0.8114, allocations: 10.11 MB / 1.11 GB, free: 9.348 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches