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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001029/0.001029, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007394/0.007393, allocations: 169.4 kB / 16.26 MB, free: 6.648 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.976/2.976, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 22.97 kB / 0.9028 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.372, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004124/0.3761, allocations: 3.137 MB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00397/0.3801, allocations: 2.073 MB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.3809, allocations: 19.94 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.3813, allocations: 126.8 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.3817, allocations: 103.3 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3828, allocations: 450.5 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.3839, allocations: 1.131 MB / 1.066 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.385, allocations: 0.5603 MB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.3855, allocations: 302.2 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.3859, allocations: 341.7 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.386, allocations: 32 kB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.3862, allocations: 47.97 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3863, allocations: 147.1 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.3867, allocations: 402.9 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.3881, allocations: 1.261 MB / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3881, allocations: 0 / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3881, allocations: 4 kB / 1.069 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.3881, allocations: 0 / 1.069 GB, free: 11.31 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.002744/0.3909, allocations: 1.22 MB / 1.07 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.375e-05/0.391, allocations: 12.03 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.3913, allocations: 123.5 kB / 1.07 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.3926, allocations: 0.587 MB / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/0.3927, allocations: 74.38 kB / 1.071 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.3929, allocations: 96.28 kB / 1.071 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.3946, allocations: 0.8797 MB / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3947, allocations: 192 / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/0.3948, allocations: 39.94 kB / 1.072 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.3948, allocations: 20 kB / 1.072 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3963, allocations: 0.6831 MB / 1.072 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.4012, allocations: 3.027 MB / 1.075 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.403, allocations: 0.7386 MB / 1.076 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/0.4037, allocations: 398.6 kB / 1.076 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.4038, allocations: 12.78 kB / 1.076 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007522/0.4045, allocations: 375 kB / 1.077 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 4.178e-06/0.4045, allocations: 0 / 1.077 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.001947/0.4065, allocations: 0.8923 MB / 1.077 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.4066, allocations: 188.5 kB / 1.078 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/0.4074, allocations: 0.6879 MB / 1.078 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.4075, allocations: 37.7 kB / 1.078 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.4078, allocations: 427.9 kB / 1.079 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.408, allocations: 236.5 kB / 1.079 GB, free: 272 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.4082, allocations: 65.69 kB / 1.079 GB, free: 200 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4083, allocations: 337.9 kB / 1.079 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007239/0.409, allocations: 317.8 kB / 1.08 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008346/0.4099, allocations: 0.4943 MB / 1.08 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.4112, allocations: 0.7122 MB / 1.081 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4113, allocations: 0 / 1.081 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001913/0.4132, allocations: 0.916 MB / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.4133, allocations: 207.6 kB / 1.082 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.4134, allocations: 8 kB / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.4134, allocations: 8 kB / 1.082 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.4141, allocations: 175.7 kB / 1.082 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.4141, allocations: 11.88 kB / 1.082 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.4149, allocations: 175 kB / 1.082 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.4149, allocations: 35.98 kB / 1.082 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.475e-06/0.4149, allocations: 4 kB / 1.082 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001237/0.4162, allocations: 0.6691 MB / 1.083 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4162, allocations: 4 kB / 1.083 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.4162, allocations: 8 kB / 1.083 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.4167, allocations: 139.8 kB / 1.083 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4167, allocations: 8 kB / 1.083 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.4173, allocations: 135.5 kB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.4175, allocations: 28 kB / 1.083 GB, free: 11.64 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.0005517/0.418, allocations: 314.4 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4181, allocations: 78.97 kB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.4196, allocations: 0.6984 MB / 1.084 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4196, allocations: 7.984 kB / 1.084 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.4196, allocations: 4 kB / 1.084 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4196, allocations: 4 kB / 1.084 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.4223, allocations: 1.702 MB / 1.086 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.4223, allocations: 4 kB / 1.086 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.4229, allocations: 144.1 kB / 1.086 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.4229, allocations: 7.938 kB / 1.086 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.423, allocations: 19.98 kB / 1.086 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.423, allocations: 7.938 kB / 1.086 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.423, allocations: 4 kB / 1.086 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.4252, allocations: 1.147 MB / 1.087 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.4253, allocations: 168 kB / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.4254, allocations: 20.03 kB / 1.088 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.4258, allocations: 71.88 kB / 1.088 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.4259, allocations: 40.52 kB / 1.088 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.4259, allocations: 23.98 kB / 1.088 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007433/0.4267, allocations: 479 kB / 1.088 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4267, allocations: 3.938 kB / 1.088 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001122/0.4278, allocations: 326.7 kB / 1.088 GB, free: 6.234 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.0003063/0.4281, allocations: 127.1 kB / 1.089 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.4307, allocations: 1.201 MB / 1.09 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4308, allocations: 0 / 1.09 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006167/0.4314, allocations: 325 kB / 1.09 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.4327, allocations: 187.5 kB / 1.09 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.4356, allocations: 1.889 MB / 1.092 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007053/0.4363, allocations: 0.9745 MB / 1.093 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004552/0.4367, allocations: 97.86 kB / 1.093 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.4369, allocations: 59.42 kB / 1.093 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of SimCode: time 1.132e-06/0.437, allocations: 4 kB / 1.093 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.01973/0.4567, allocations: 9.15 MB / 1.102 GB, free: 8.215 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