Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001397/0.001397, allocations: 109.7 kB / 16.41 MB, free: 6.504 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.001482/0.001482, allocations: 183.9 kB / 17.35 MB, free: 5.723 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.654/2.654, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.054, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.00488/1.059, allocations: 3.637 MB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003331/1.063, allocations: 2.129 MB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/1.063, allocations: 19.94 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004116/1.064, allocations: 182.1 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/1.064, allocations: 146.6 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/1.065, allocations: 0.4992 MB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001186/1.066, allocations: 1.26 MB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008232/1.067, allocations: 0.5916 MB / 1.176 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/1.068, allocations: 446.2 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/1.068, allocations: 489.5 kB / 1.177 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/1.068, allocations: 128 kB / 1.177 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/1.068, allocations: 144 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/1.069, allocations: 255.1 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003976/1.069, allocations: 0.505 MB / 1.178 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/1.07, allocations: 1.436 MB / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.07, allocations: 0 / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.479e-05/1.07, allocations: 0 / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.183e-05/1.07, allocations: 0 / 1.179 GB, free: 7.93 MB / 0.9044 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.002472/1.073, allocations: 1.402 MB / 1.18 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.073, allocations: 12.03 kB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/1.073, allocations: 120.2 kB / 1.18 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008487/1.074, allocations: 0.5992 MB / 1.181 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/1.074, allocations: 74.38 kB / 1.181 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/1.074, allocations: 100.3 kB / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/1.076, allocations: 0.8563 MB / 1.182 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/1.076, allocations: 4.188 kB / 1.182 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/1.076, allocations: 43.92 kB / 1.182 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/1.076, allocations: 20 kB / 1.182 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/1.077, allocations: 0.6363 MB / 1.183 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/1.081, allocations: 2.977 MB / 1.186 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/1.083, allocations: 0.6714 MB / 1.186 GB, free: 180 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/1.083, allocations: 382.6 kB / 1.187 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/1.083, allocations: 12.55 kB / 1.187 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006639/1.084, allocations: 347 kB / 1.187 GB, free: 15.44 MB / 0.92 GB Notification: Performance of pre-optimization done (n=68): time 2.525e-06/1.084, allocations: 0 / 1.187 GB, free: 15.44 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.001766/1.086, allocations: 0.8342 MB / 1.188 GB, free: 14.6 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.086, allocations: 192.5 kB / 1.188 GB, free: 14.37 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/1.087, allocations: 0.6802 MB / 1.189 GB, free: 13.68 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/1.087, allocations: 41.7 kB / 1.189 GB, free: 13.64 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/1.087, allocations: 437.7 kB / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/1.087, allocations: 245.9 kB / 1.189 GB, free: 12.96 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.088, allocations: 150.6 kB / 1.189 GB, free: 12.81 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.088, allocations: 337.8 kB / 1.19 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/1.088, allocations: 296.7 kB / 1.19 GB, free: 12.18 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/1.089, allocations: 478.1 kB / 1.191 GB, free: 11.64 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/1.091, allocations: 0.6809 MB / 1.191 GB, free: 10.92 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.091, allocations: 0 / 1.191 GB, free: 10.92 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00173/1.092, allocations: 0.8849 MB / 1.192 GB, free: 10.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/1.092, allocations: 41.64 kB / 1.192 GB, free: 9.973 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.092, allocations: 0 / 1.192 GB, free: 9.973 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.092, allocations: 8 kB / 1.192 GB, free: 9.965 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/1.093, allocations: 164 kB / 1.192 GB, free: 9.805 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.093, allocations: 8 kB / 1.192 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/1.094, allocations: 143.3 kB / 1.192 GB, free: 9.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/1.094, allocations: 35.98 kB / 1.192 GB, free: 9.621 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000677/1.094, allocations: 398 kB / 1.193 GB, free: 9.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005801/1.095, allocations: 410.3 kB / 1.193 GB, free: 8.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008097/1.096, allocations: 0.5716 MB / 1.194 GB, free: 8.145 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/1.096, allocations: 4 kB / 1.194 GB, free: 8.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001233/1.097, allocations: 0.7561 MB / 1.194 GB, free: 7.371 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/1.097, allocations: 37.69 kB / 1.195 GB, free: 7.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.097, allocations: 4.375 kB / 1.195 GB, free: 7.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.934e-06/1.097, allocations: 12 kB / 1.195 GB, free: 7.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/1.098, allocations: 139.8 kB / 1.195 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.098, allocations: 11.98 kB / 1.195 GB, free: 7.164 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/1.098, allocations: 115.5 kB / 1.195 GB, free: 7.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/1.098, allocations: 28 kB / 1.195 GB, free: 7.023 MB / 0.92 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.0002176/1.099, allocations: 236 kB / 1.195 GB, free: 6.785 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.099, allocations: 83.44 kB / 1.195 GB, free: 6.703 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.1, allocations: 0.6555 MB / 1.196 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.1, allocations: 3.984 kB / 1.196 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.1, allocations: 0 / 1.196 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/1.1, allocations: 172.3 kB / 1.196 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.709e-05/1.1, allocations: 12 kB / 1.196 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/1.101, allocations: 55.88 kB / 1.196 GB, free: 5.77 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/1.101, allocations: 36.45 kB / 1.196 GB, free: 5.734 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001546/1.102, allocations: 0.7291 MB / 1.197 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001848/1.104, allocations: 1.127 MB / 1.198 GB, free: 3.852 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005341/1.105, allocations: 296.3 kB / 1.198 GB, free: 3.566 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005652/1.105, allocations: 483 kB / 1.199 GB, free: 3.098 MB / 0.92 GB Notification: Performance of Backend: time 3.6e-07/1.105, allocations: 192 / 1.199 GB, free: 3.098 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.107, allocations: 1.024 MB / 1.2 GB, free: 2.043 MB / 0.92 GB Notification: Performance of SimCode: time 0.002652/1.11, allocations: 1.861 MB / 1.201 GB, free: 132 kB / 0.92 GB Notification: Performance of Templates: time 0.02474/1.135, allocations: 12.38 MB / 1.214 GB, free: 3.84 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches