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.001548/0.001548, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001989, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.979/2.979, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 62.95 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3788, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005856/0.3847, allocations: 3.626 MB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004488/0.3892, allocations: 2.128 MB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.3906, allocations: 19.94 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.3914, allocations: 178 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.3925, allocations: 142.6 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.3942, allocations: 0.4946 MB / 1.075 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001919/0.3961, allocations: 1.249 MB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.3975, allocations: 0.5993 MB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007094/0.3982, allocations: 446.2 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000696/0.3989, allocations: 473.6 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.3993, allocations: 136 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.3996, allocations: 140 kB / 1.078 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.3999, allocations: 263 kB / 1.078 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007112/0.4006, allocations: 0.5012 MB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.4022, allocations: 1.371 MB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4022, allocations: 0 / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4022, allocations: 0 / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.243e-05/0.4023, allocations: 0 / 1.08 GB, free: 14.64 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.003405/0.4057, allocations: 1.371 MB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4057, allocations: 8.031 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.406, allocations: 119.6 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.4071, allocations: 0.5908 MB / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/0.4072, allocations: 74.38 kB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.4073, allocations: 92.38 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.4089, allocations: 0.8602 MB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.409, allocations: 4.188 kB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/0.4091, allocations: 39.94 kB / 1.083 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.4091, allocations: 20 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.4104, allocations: 0.6402 MB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.4149, allocations: 2.992 MB / 1.086 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.4163, allocations: 0.679 MB / 1.087 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.4169, allocations: 382.6 kB / 1.087 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.417, allocations: 5.656 kB / 1.087 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007501/0.4177, allocations: 351 kB / 1.088 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 3.156e-06/0.4177, allocations: 0 / 1.088 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001748/0.4195, allocations: 0.8298 MB / 1.088 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.4196, allocations: 196.4 kB / 1.089 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008904/0.4205, allocations: 0.684 MB / 1.089 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/0.4206, allocations: 41.64 kB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.421, allocations: 435.8 kB / 1.09 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.4212, allocations: 224.7 kB / 1.09 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.4215, allocations: 142.7 kB / 1.09 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4216, allocations: 341.9 kB / 1.09 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006994/0.4223, allocations: 304.6 kB / 1.091 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.4231, allocations: 478.2 kB / 1.091 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.4243, allocations: 0.6731 MB / 1.092 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4243, allocations: 0 / 1.092 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001773/0.4261, allocations: 0.8726 MB / 1.093 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.4262, allocations: 43.56 kB / 1.093 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.4262, allocations: 8 kB / 1.093 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.4262, allocations: 8.312 kB / 1.093 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.4269, allocations: 167.8 kB / 1.093 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.4269, allocations: 4 kB / 1.093 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/0.4276, allocations: 143 kB / 1.093 GB, free: 432 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/0.4277, allocations: 32 kB / 1.093 GB, free: 400 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007231/0.4284, allocations: 398.1 kB / 1.093 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005916/0.429, allocations: 418.2 kB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009402/0.43, allocations: 0.5756 MB / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/0.43, allocations: 0 / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001358/0.4314, allocations: 0.7517 MB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.4314, allocations: 46.06 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4314, allocations: 4 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.4315, allocations: 8 kB / 1.095 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/0.432, allocations: 139.8 kB / 1.095 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.432, allocations: 11.97 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.4326, allocations: 107.5 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.4327, allocations: 24 kB / 1.095 GB, free: 13.79 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.0002558/0.4329, allocations: 240.7 kB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.4331, allocations: 78.97 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.4345, allocations: 0.6516 MB / 1.096 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.4345, allocations: 8 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4345, allocations: 0 / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.4345, allocations: 4.172 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.4373, allocations: 1.671 MB / 1.098 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4373, allocations: 15.81 kB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.4379, allocations: 127.8 kB / 1.098 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.4379, allocations: 11.98 kB / 1.098 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.438, allocations: 12 kB / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.438, allocations: 11.94 kB / 1.098 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.438, allocations: 288 / 1.098 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.4399, allocations: 1.093 MB / 1.099 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.4401, allocations: 171.9 kB / 1.099 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/0.4402, allocations: 19.98 kB / 1.099 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.4406, allocations: 43.95 kB / 1.1 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/0.4407, allocations: 48.52 kB / 1.1 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.4407, allocations: 24.11 kB / 1.1 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006668/0.4414, allocations: 479 kB / 1.1 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.964e-06/0.4414, allocations: 0 / 1.1 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00107/0.4425, allocations: 322.7 kB / 1.1 GB, free: 8.621 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.0002819/0.4428, allocations: 127.7 kB / 1.1 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.4454, allocations: 1.182 MB / 1.102 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.4454, allocations: 0 / 1.102 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005859/0.446, allocations: 308.2 kB / 1.102 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.447, allocations: 188.8 kB / 1.102 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.4499, allocations: 1.494 MB / 1.104 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000711/0.4506, allocations: 0.9821 MB / 1.105 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004499/0.4511, allocations: 97.92 kB / 1.105 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.4513, allocations: 63.41 kB / 1.105 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/0.4513, allocations: 0 / 1.105 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of Templates: time 0.0222/0.4735, allocations: 9.691 MB / 1.114 GB, free: 10.49 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