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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001591/0.001591, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002009/0.002009, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 74.14 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4624, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005505/0.468, allocations: 3.598 MB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0038/0.4718, allocations: 2.077 MB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005015/0.4723, allocations: 19.94 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.4728, allocations: 130.8 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.4732, allocations: 99.28 kB / 1.074 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.4744, allocations: 443 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.4756, allocations: 1.252 MB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008887/0.4765, allocations: 0.5993 MB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/0.477, allocations: 450.2 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.4775, allocations: 477.6 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.4776, allocations: 131.9 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.4778, allocations: 144 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.478, allocations: 251.1 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.4784, allocations: 0.5051 MB / 1.078 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.4797, allocations: 1.363 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4797, allocations: 11.94 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4797, allocations: 0 / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.4797, allocations: 0 / 1.079 GB, free: 15.17 MB / 0.8419 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.002581/0.4823, allocations: 1.368 MB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4824, allocations: 8.031 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.4826, allocations: 115.6 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.4834, allocations: 0.5986 MB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.4835, allocations: 74.31 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.4837, allocations: 92.38 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.4852, allocations: 0.8563 MB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4852, allocations: 192 / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-05/0.4853, allocations: 47.92 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.4853, allocations: 23.94 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.4867, allocations: 0.6363 MB / 1.083 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.491, allocations: 2.988 MB / 1.086 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.4925, allocations: 0.6751 MB / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006657/0.4932, allocations: 382.6 kB / 1.087 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.732e-05/0.4933, allocations: 9.656 kB / 1.087 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007918/0.494, allocations: 351 kB / 1.087 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 4.178e-06/0.4941, allocations: 4 kB / 1.087 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001783/0.4959, allocations: 0.8298 MB / 1.088 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.496, allocations: 196.5 kB / 1.088 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/0.4969, allocations: 0.684 MB / 1.089 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.497, allocations: 41.7 kB / 1.089 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.4973, allocations: 427.8 kB / 1.089 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.4975, allocations: 232.6 kB / 1.089 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.4977, allocations: 146.6 kB / 1.089 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4978, allocations: 341.9 kB / 1.09 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/0.4985, allocations: 296.7 kB / 1.09 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007852/0.4993, allocations: 482.2 kB / 1.091 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.5005, allocations: 0.6693 MB / 1.091 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5006, allocations: 4.094 kB / 1.091 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001778/0.5023, allocations: 0.8881 MB / 1.092 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.5024, allocations: 34.08 kB / 1.092 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.5024, allocations: 4 kB / 1.092 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.5024, allocations: 8 kB / 1.092 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.5031, allocations: 159.8 kB / 1.092 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.5031, allocations: 15.92 kB / 1.092 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.5037, allocations: 143 kB / 1.092 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.5038, allocations: 31.98 kB / 1.092 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006409/0.5044, allocations: 398 kB / 1.093 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005648/0.505, allocations: 410.3 kB / 1.093 GB, free: 40 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008169/0.5058, allocations: 0.5717 MB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.5058, allocations: 0 / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001232/0.5071, allocations: 0.7559 MB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.5071, allocations: 47.09 kB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5071, allocations: 8 kB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.5072, allocations: 8 kB / 1.095 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.5076, allocations: 135.8 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5077, allocations: 8 kB / 1.095 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.5082, allocations: 111.5 kB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.5083, allocations: 27.98 kB / 1.095 GB, free: 14.3 MB / 0.8575 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.0002164/0.5085, allocations: 232 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.5086, allocations: 78.97 kB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.5099, allocations: 0.6554 MB / 1.096 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5099, allocations: 11.94 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.51, allocations: 3.938 kB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.51, allocations: 3.984 kB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.5124, allocations: 1.671 MB / 1.097 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.5125, allocations: 7.938 kB / 1.097 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005229/0.513, allocations: 127.8 kB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.513, allocations: 4 kB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.513, allocations: 16.28 kB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.5131, allocations: 11.98 kB / 1.098 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5131, allocations: 4 kB / 1.098 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.5148, allocations: 1.081 MB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.515, allocations: 179.9 kB / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.5151, allocations: 16 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.5154, allocations: 43.95 kB / 1.099 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.5155, allocations: 52.53 kB / 1.099 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.5156, allocations: 23.94 kB / 1.099 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000552/0.5161, allocations: 487 kB / 1.099 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5161, allocations: 0 / 1.099 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008179/0.517, allocations: 314.8 kB / 1.1 GB, free: 9.145 MB / 0.8575 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.0002498/0.5172, allocations: 135.1 kB / 1.1 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.5194, allocations: 1.166 MB / 1.101 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5195, allocations: 4 kB / 1.101 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005511/0.52, allocations: 304.7 kB / 1.101 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.5209, allocations: 187.9 kB / 1.101 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.5235, allocations: 1.857 MB / 1.103 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.524, allocations: 0.9743 MB / 1.104 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003712/0.5244, allocations: 101.9 kB / 1.104 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.5246, allocations: 63.42 kB / 1.104 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.5246, allocations: 0 / 1.104 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of Templates: time 0.01684/0.5415, allocations: 9.646 MB / 1.114 GB, free: 10.72 MB / 0.8731 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