Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001613/0.001613, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001694/0.001694, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 70.53 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.361, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005022/0.3661, allocations: 3.632 MB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004056/0.3702, allocations: 2.128 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008018/0.371, allocations: 19.94 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.3715, allocations: 174.1 kB / 1.033 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.3721, allocations: 150.6 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.3735, allocations: 0.4951 MB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.3749, allocations: 1.26 MB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009178/0.3759, allocations: 0.5954 MB / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/0.3764, allocations: 446.3 kB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.3769, allocations: 485.5 kB / 1.036 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.377, allocations: 128 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.3773, allocations: 147.9 kB / 1.036 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.3775, allocations: 255.1 kB / 1.036 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.3779, allocations: 0.5012 MB / 1.037 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.3792, allocations: 1.424 MB / 1.038 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3792, allocations: 4 kB / 1.038 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3792, allocations: 0 / 1.038 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.3793, allocations: 4 kB / 1.038 GB, free: 6.199 MB / 0.8106 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.002446/0.3817, allocations: 1.36 MB / 1.04 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3818, allocations: 12.03 kB / 1.04 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.3819, allocations: 119.5 kB / 1.04 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009303/0.3829, allocations: 0.5986 MB / 1.04 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/0.383, allocations: 74.36 kB / 1.04 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.3831, allocations: 96.28 kB / 1.04 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.3846, allocations: 0.868 MB / 1.041 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3846, allocations: 192 / 1.041 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.3847, allocations: 43.94 kB / 1.041 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.3847, allocations: 20 kB / 1.041 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3859, allocations: 0.6441 MB / 1.042 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.3905, allocations: 2.953 MB / 1.045 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.3922, allocations: 0.6869 MB / 1.046 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.3929, allocations: 370.6 kB / 1.046 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.393, allocations: 17.58 kB / 1.046 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007116/0.3937, allocations: 347 kB / 1.046 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 2.835e-06/0.3937, allocations: 3.938 kB / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.002241/0.396, allocations: 0.8376 MB / 1.047 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.3961, allocations: 188.5 kB / 1.047 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009376/0.3971, allocations: 0.6762 MB / 1.048 GB, free: 12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.919e-05/0.3972, allocations: 41.7 kB / 1.048 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.3976, allocations: 431.9 kB / 1.048 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.3978, allocations: 236.5 kB / 1.049 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.398, allocations: 138.7 kB / 1.049 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3982, allocations: 337.9 kB / 1.049 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.3989, allocations: 292.7 kB / 1.049 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007891/0.3997, allocations: 486.2 kB / 1.05 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.4009, allocations: 0.6809 MB / 1.05 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.4009, allocations: 0 / 1.05 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001784/0.4027, allocations: 0.8808 MB / 1.051 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.4028, allocations: 37.7 kB / 1.051 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4028, allocations: 4 kB / 1.051 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.4028, allocations: 4 kB / 1.051 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.4035, allocations: 167.8 kB / 1.052 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.4035, allocations: 7.938 kB / 1.052 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/0.4041, allocations: 143 kB / 1.052 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.4042, allocations: 31.98 kB / 1.052 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006786/0.4049, allocations: 398 kB / 1.052 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005822/0.4055, allocations: 418.2 kB / 1.052 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008074/0.4063, allocations: 0.5639 MB / 1.053 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/0.4063, allocations: 0 / 1.053 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001292/0.4076, allocations: 0.7672 MB / 1.054 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.4077, allocations: 37.7 kB / 1.054 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4077, allocations: 4 kB / 1.054 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.4077, allocations: 4 kB / 1.054 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.4082, allocations: 135.8 kB / 1.054 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4082, allocations: 7.938 kB / 1.054 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.4087, allocations: 119.8 kB / 1.054 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.4088, allocations: 31.98 kB / 1.054 GB, free: 5.367 MB / 0.8262 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.0002612/0.4091, allocations: 224.1 kB / 1.054 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.4092, allocations: 82.97 kB / 1.054 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.4105, allocations: 0.6554 MB / 1.055 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4105, allocations: 7.938 kB / 1.055 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4105, allocations: 0 / 1.055 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4105, allocations: 12.17 kB / 1.055 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.413, allocations: 1.663 MB / 1.057 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4131, allocations: 11.88 kB / 1.057 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.4137, allocations: 140.1 kB / 1.057 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.4137, allocations: 4 kB / 1.057 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.4137, allocations: 16 kB / 1.057 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.4137, allocations: 7.984 kB / 1.057 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4137, allocations: 4 kB / 1.057 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.4156, allocations: 1.085 MB / 1.058 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.4158, allocations: 179.9 kB / 1.058 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/0.4159, allocations: 12 kB / 1.058 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.4162, allocations: 51.95 kB / 1.058 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.4163, allocations: 44.45 kB / 1.058 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.4164, allocations: 23.98 kB / 1.058 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005936/0.417, allocations: 483 kB / 1.059 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.417, allocations: 0 / 1.059 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001011/0.418, allocations: 314.8 kB / 1.059 GB, free: 216 kB / 0.8262 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.0002669/0.4183, allocations: 135.1 kB / 1.059 GB, free: 68 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.4205, allocations: 1.14 MB / 1.06 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4205, allocations: 0 / 1.06 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.4211, allocations: 315.5 kB / 1.061 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009345/0.422, allocations: 190.3 kB / 1.061 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.4245, allocations: 1.482 MB / 1.062 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.4252, allocations: 0.9743 MB / 1.063 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003835/0.4256, allocations: 97.91 kB / 1.063 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.4258, allocations: 59.42 kB / 1.063 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of SimCode: time 8.21e-07/0.4258, allocations: 4 kB / 1.063 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of Templates: time 0.01893/0.4447, allocations: 9.69 MB / 1.073 GB, free: 2.125 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches