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.009732/0.009732, allocations: 99 kB / 15.73 MB, free: 6.043 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.001913/0.001913, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.875/2.875, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 71.88 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3788, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004871/0.3837, allocations: 3.623 MB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003375/0.387, allocations: 2.132 MB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.3874, allocations: 23.94 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.3879, allocations: 170.1 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.3882, allocations: 150.6 kB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3894, allocations: 0.499 MB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.3905, allocations: 1.256 MB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.3911, allocations: 433.8 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.3916, allocations: 454.2 kB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.392, allocations: 481.6 kB / 1.23 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.3922, allocations: 132 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.3924, allocations: 139.9 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.3925, allocations: 255.1 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.3929, allocations: 0.5051 MB / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3941, allocations: 1.439 MB / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3941, allocations: 0 / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3941, allocations: 0 / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.93e-05/0.3941, allocations: 0 / 1.232 GB, free: 2.051 MB / 0.9825 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.00221/0.3964, allocations: 1.394 MB / 1.233 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3964, allocations: 8.031 kB / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.3966, allocations: 124.2 kB / 1.234 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/0.3975, allocations: 0.6149 MB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.3976, allocations: 74.38 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.3977, allocations: 88.38 kB / 1.234 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.3991, allocations: 0.8641 MB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.3991, allocations: 3.938 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.3992, allocations: 36 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.3992, allocations: 20 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.4005, allocations: 0.6402 MB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/0.405, allocations: 2.973 MB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.4064, allocations: 0.644 MB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.407, allocations: 358.5 kB / 1.24 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.4071, allocations: 13.64 kB / 1.24 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006108/0.4077, allocations: 347 kB / 1.24 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=68): time 2.475e-06/0.4077, allocations: 0 / 1.24 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=68): time 0.001843/0.4095, allocations: 0.8381 MB / 1.241 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.4096, allocations: 192.5 kB / 1.241 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.4104, allocations: 0.6763 MB / 1.242 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/0.4105, allocations: 45.7 kB / 1.242 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.4108, allocations: 436.6 kB / 1.242 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.411, allocations: 241.9 kB / 1.242 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.4113, allocations: 150.6 kB / 1.243 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4114, allocations: 337.9 kB / 1.243 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006375/0.4121, allocations: 296.6 kB / 1.243 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/0.4128, allocations: 484.8 kB / 1.244 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.414, allocations: 0.677 MB / 1.244 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.414, allocations: 0 / 1.244 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001693/0.4157, allocations: 0.8931 MB / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.4157, allocations: 45.64 kB / 1.245 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4157, allocations: 0 / 1.245 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.4158, allocations: 8 kB / 1.245 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.4164, allocations: 159.7 kB / 1.245 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.4164, allocations: 11.98 kB / 1.245 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/0.4171, allocations: 143.3 kB / 1.245 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.321e-05/0.4171, allocations: 32 kB / 1.245 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000668/0.4178, allocations: 398 kB / 1.246 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000526/0.4183, allocations: 418.2 kB / 1.246 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008141/0.4192, allocations: 0.5678 MB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.574e-06/0.4192, allocations: 0 / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001403/0.4206, allocations: 0.7718 MB / 1.248 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.4206, allocations: 47.41 kB / 1.248 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4206, allocations: 0 / 1.248 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.4206, allocations: 8 kB / 1.248 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.4211, allocations: 131.8 kB / 1.248 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4211, allocations: 11.92 kB / 1.248 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.4217, allocations: 111.8 kB / 1.248 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.4217, allocations: 28 kB / 1.248 GB, free: 1.188 MB / 0.9981 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.0002335/0.422, allocations: 232.6 kB / 1.248 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.4221, allocations: 83.44 kB / 1.248 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.4234, allocations: 0.6592 MB / 1.249 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4234, allocations: 8 kB / 1.249 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4234, allocations: 0 / 1.249 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4234, allocations: 0 / 1.249 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7231/1.147, allocations: 1.664 MB / 1.25 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.147, allocations: 4.141 kB / 1.25 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/1.147, allocations: 129.2 kB / 1.251 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/1.147, allocations: 7.469 kB / 1.251 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/1.147, allocations: 16.11 kB / 1.251 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/1.147, allocations: 5.734 kB / 1.251 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.147, allocations: 8.234 kB / 1.251 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/1.149, allocations: 1.095 MB / 1.252 GB, free: 29.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/1.149, allocations: 176.1 kB / 1.252 GB, free: 29.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/1.149, allocations: 15.44 kB / 1.252 GB, free: 29.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/1.15, allocations: 45.81 kB / 1.252 GB, free: 29.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.15, allocations: 51.81 kB / 1.252 GB, free: 29.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/1.15, allocations: 23.77 kB / 1.252 GB, free: 29.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006658/1.151, allocations: 479.5 kB / 1.252 GB, free: 29.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.151, allocations: 3.625 kB / 1.252 GB, free: 29.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009544/1.152, allocations: 323.5 kB / 1.253 GB, free: 29.54 MB / 0.9981 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.0002404/1.152, allocations: 128.8 kB / 1.253 GB, free: 29.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002082/1.154, allocations: 1.063 MB / 1.254 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.154, allocations: 4.531 kB / 1.254 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005282/1.154, allocations: 287.5 kB / 1.254 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/1.155, allocations: 178.4 kB / 1.254 GB, free: 29.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/1.157, allocations: 1.522 MB / 1.256 GB, free: 28.53 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/1.158, allocations: 0.9794 MB / 1.257 GB, free: 27.83 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003779/1.158, allocations: 102.9 kB / 1.257 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/1.158, allocations: 61.42 kB / 1.257 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/1.158, allocations: 2.344 kB / 1.257 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.02812/1.186, allocations: 9.84 MB / 1.267 GB, free: 27.27 MB / 0.9981 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=480 -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/jenkins/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