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.0008383/0.0008382, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009556/0.0009556, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.99/2.99, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 10.75 kB / 0.9022 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3934, allocations: 159.6 MB / 1.058 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004258/0.3977, allocations: 2.865 MB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004359/0.4021, allocations: 2.054 MB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.4033, allocations: 19.94 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006379/0.404, allocations: 126.8 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007579/0.4048, allocations: 95.28 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.4062, allocations: 346 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.4079, allocations: 1.061 MB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009137/0.4088, allocations: 422.6 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005445/0.4094, allocations: 282.4 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.4099, allocations: 333.9 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.4101, allocations: 28 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.4103, allocations: 47.98 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.4104, allocations: 135.2 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.4106, allocations: 173.1 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009939/0.4116, allocations: 1.056 MB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4117, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4117, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.4117, allocations: 4 kB / 1.067 GB, free: 12.19 MB / 0.8262 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.002189/0.4139, allocations: 1.231 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4139, allocations: 11.97 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.4141, allocations: 118.6 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/0.4149, allocations: 0.5628 MB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.415, allocations: 77.94 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.4151, allocations: 95.91 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.4165, allocations: 0.8752 MB / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.4165, allocations: 0 / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.4166, allocations: 36 kB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.4166, allocations: 24 kB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.4179, allocations: 0.6637 MB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.422, allocations: 3.019 MB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.4234, allocations: 0.7427 MB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.4241, allocations: 398.5 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.4241, allocations: 16.53 kB / 1.075 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006944/0.4248, allocations: 367 kB / 1.075 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 4.529e-06/0.4249, allocations: 4 kB / 1.075 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.001713/0.4266, allocations: 0.8922 MB / 1.076 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.4267, allocations: 192.5 kB / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/0.4275, allocations: 0.6684 MB / 1.077 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.4276, allocations: 45.7 kB / 1.077 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.4279, allocations: 427.8 kB / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.4281, allocations: 240.5 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.4282, allocations: 12 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4284, allocations: 334 kB / 1.078 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006614/0.429, allocations: 301.8 kB / 1.078 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007878/0.4298, allocations: 0.4904 MB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/0.4305, allocations: 364.8 kB / 1.079 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4305, allocations: 0 / 1.079 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001639/0.4322, allocations: 0.9004 MB / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.4323, allocations: 219.5 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.4324, allocations: 8 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4324, allocations: 8 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/0.4331, allocations: 167.8 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.4331, allocations: 15.92 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/0.4337, allocations: 171 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.4338, allocations: 39.98 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-06/0.4338, allocations: 1.562 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/0.4349, allocations: 0.6612 MB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.4349, allocations: 4 kB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.4349, allocations: 8.375 kB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.4354, allocations: 147.8 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4354, allocations: 4 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.4359, allocations: 135.2 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.4359, allocations: 31.98 kB / 1.081 GB, free: 13.05 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004129/0.4364, allocations: 300.9 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.4365, allocations: 82.97 kB / 1.082 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.4379, allocations: 0.6944 MB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.4379, allocations: 12 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.4379, allocations: 0 / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.4379, allocations: 7.938 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.4408, allocations: 1.71 MB / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4408, allocations: 3.938 kB / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.4414, allocations: 139.8 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.4414, allocations: 8.281 kB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.4414, allocations: 19.98 kB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.4414, allocations: 7.938 kB / 1.084 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4415, allocations: 4 kB / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.4436, allocations: 1.14 MB / 1.085 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.4438, allocations: 179.9 kB / 1.085 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.4439, allocations: 16 kB / 1.085 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.4442, allocations: 59.95 kB / 1.085 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.4443, allocations: 48.5 kB / 1.085 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.4443, allocations: 20.22 kB / 1.085 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005624/0.4449, allocations: 482.9 kB / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4449, allocations: 4 kB / 1.086 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001008/0.4459, allocations: 314.8 kB / 1.086 GB, free: 7.676 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003412/0.4463, allocations: 129.5 kB / 1.086 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.4484, allocations: 1.179 MB / 1.088 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.4485, allocations: 0 / 1.088 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005782/0.449, allocations: 327.8 kB / 1.088 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009732/0.45, allocations: 172.4 kB / 1.088 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.4528, allocations: 1.801 MB / 1.09 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.4535, allocations: 0.9784 MB / 1.091 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004186/0.4539, allocations: 105.9 kB / 1.091 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.4541, allocations: 67.36 kB / 1.091 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of SimCode: time 8.81e-07/0.4541, allocations: 0 / 1.091 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of Templates: time 0.01744/0.4716, allocations: 8.8 MB / 1.099 GB, free: 10.11 MB / 0.8575 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 -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/jenkins/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