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.001426/0.001426, allocations: 100.1 kB / 15.88 MB, free: 12 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.001725/0.001725, allocations: 200.3 kB / 16.79 MB, free: 6.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.671/2.671, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.73 kB / 0.8991 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3124, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005789/0.3182, allocations: 3.6 MB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.3225, allocations: 2.085 MB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.3237, allocations: 23.94 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007852/0.3245, allocations: 138.8 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009717/0.3255, allocations: 91.28 kB / 1.059 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3271, allocations: 453 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.3287, allocations: 1.139 MB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009254/0.3296, allocations: 0.5681 MB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.3301, allocations: 382.1 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.3305, allocations: 429.6 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.3306, allocations: 64 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.3308, allocations: 71.98 kB / 1.062 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3309, allocations: 195.1 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.3313, allocations: 449.1 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008744/0.3322, allocations: 1.08 MB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3322, allocations: 4 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.32e-07/0.3322, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.3322, allocations: 0 / 1.063 GB, free: 13.55 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.002344/0.3346, allocations: 1.371 MB / 1.065 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3346, allocations: 15.97 kB / 1.065 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.3348, allocations: 123.5 kB / 1.065 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007764/0.3356, allocations: 0.587 MB / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/0.3357, allocations: 74.36 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3358, allocations: 96.28 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.3373, allocations: 0.8641 MB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3373, allocations: 192 / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.3374, allocations: 39.94 kB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.3374, allocations: 20 kB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3387, allocations: 0.6324 MB / 1.067 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.3429, allocations: 2.999 MB / 1.07 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.3443, allocations: 0.6753 MB / 1.071 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.3449, allocations: 378.6 kB / 1.071 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.345, allocations: 13.64 kB / 1.071 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007143/0.3457, allocations: 343 kB / 1.071 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 2.545e-06/0.3457, allocations: 0 / 1.071 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.001692/0.3474, allocations: 0.8376 MB / 1.072 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.3475, allocations: 188.5 kB / 1.072 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/0.3483, allocations: 0.6762 MB / 1.073 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.3484, allocations: 45.7 kB / 1.073 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.3487, allocations: 431.8 kB / 1.073 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.3489, allocations: 232.6 kB / 1.074 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.3491, allocations: 142.6 kB / 1.074 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3492, allocations: 337.9 kB / 1.074 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.3499, allocations: 300.6 kB / 1.074 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/0.3506, allocations: 478.2 kB / 1.075 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.3519, allocations: 0.6731 MB / 1.075 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3519, allocations: 0 / 1.075 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001728/0.3536, allocations: 0.8847 MB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.3537, allocations: 37.7 kB / 1.076 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3537, allocations: 4 kB / 1.076 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3537, allocations: 8 kB / 1.076 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.3543, allocations: 163.7 kB / 1.077 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.3544, allocations: 8 kB / 1.077 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.355, allocations: 143 kB / 1.077 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.355, allocations: 31.98 kB / 1.077 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006455/0.3557, allocations: 394 kB / 1.077 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005615/0.3563, allocations: 426.2 kB / 1.077 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000813/0.3571, allocations: 0.5677 MB / 1.078 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.3571, allocations: 192 / 1.078 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00124/0.3584, allocations: 0.7673 MB / 1.079 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.3584, allocations: 41.64 kB / 1.079 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3584, allocations: 4 kB / 1.079 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.3584, allocations: 4 kB / 1.079 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.3589, allocations: 139.8 kB / 1.079 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3589, allocations: 8.375 kB / 1.079 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.3594, allocations: 111.4 kB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.3595, allocations: 35.98 kB / 1.079 GB, free: 12.68 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.0001943/0.3597, allocations: 224 kB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.3598, allocations: 82.97 kB / 1.079 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.3611, allocations: 0.6555 MB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.3611, allocations: 4 kB / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3611, allocations: 8 kB / 1.08 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.3611, allocations: 3.984 kB / 1.08 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.3635, allocations: 1.667 MB / 1.082 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3635, allocations: 3.938 kB / 1.082 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.3641, allocations: 136.1 kB / 1.082 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3641, allocations: 4 kB / 1.082 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.3641, allocations: 23.98 kB / 1.082 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3641, allocations: 4 kB / 1.082 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.3641, allocations: 11.88 kB / 1.082 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.3659, allocations: 1.081 MB / 1.083 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3661, allocations: 175.9 kB / 1.083 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.3662, allocations: 20 kB / 1.083 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.3665, allocations: 47.95 kB / 1.083 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.3666, allocations: 40.5 kB / 1.083 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.3667, allocations: 20 kB / 1.083 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000533/0.3672, allocations: 487 kB / 1.084 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3672, allocations: 0 / 1.084 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007775/0.368, allocations: 326.8 kB / 1.084 GB, free: 7.516 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.0002687/0.3683, allocations: 125.5 kB / 1.084 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.3702, allocations: 1.148 MB / 1.085 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3703, allocations: 0 / 1.085 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005499/0.3708, allocations: 323.3 kB / 1.086 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009461/0.3718, allocations: 168.1 kB / 1.086 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.3745, allocations: 1.88 MB / 1.088 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.3751, allocations: 0.9785 MB / 1.088 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.3753, allocations: 75.34 kB / 1.089 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of SimCode: time 1.102e-06/0.3754, allocations: 0 / 1.089 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of Templates: time 0.01377/0.3891, allocations: 10.11 MB / 1.098 GB, free: 8.648 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/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