Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01155/0.01155, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.002443/0.002443, allocations: 198.5 kB / 16.68 MB, free: 5.973 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.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 390.2 MB / 0.6648 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.12 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3711, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.005592/0.3768, allocations: 3.626 MB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003993/0.3808, allocations: 2.125 MB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004889/0.3813, allocations: 23.94 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.3819, allocations: 174.1 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.3823, allocations: 154.6 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.3836, allocations: 0.4999 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.3848, allocations: 1.256 MB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008623/0.3857, allocations: 0.6032 MB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.3862, allocations: 446.3 kB / 1.097 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.3866, allocations: 485.5 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3868, allocations: 128 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.387, allocations: 147.9 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.3873, allocations: 251.1 kB / 1.098 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004138/0.3877, allocations: 0.5051 MB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3891, allocations: 1.432 MB / 1.1 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3891, allocations: 7.984 kB / 1.1 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3891, allocations: 0 / 1.1 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.3891, allocations: 0 / 1.1 GB, free: 5.551 MB / 0.8575 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.002541/0.3917, allocations: 1.36 MB / 1.101 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3917, allocations: 8.031 kB / 1.101 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.392, allocations: 119.5 kB / 1.101 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.393, allocations: 0.5986 MB / 1.102 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/0.3931, allocations: 70.38 kB / 1.102 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3932, allocations: 96.28 kB / 1.102 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.3947, allocations: 0.8602 MB / 1.103 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.3947, allocations: 192 / 1.103 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.3948, allocations: 43.94 kB / 1.103 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.3948, allocations: 20 kB / 1.103 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.3961, allocations: 0.6402 MB / 1.103 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.4006, allocations: 2.956 MB / 1.106 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.4022, allocations: 0.6802 MB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.4028, allocations: 378.6 kB / 1.107 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.4029, allocations: 12.55 kB / 1.107 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006715/0.4036, allocations: 343 kB / 1.107 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=68): time 2.965e-06/0.4036, allocations: 0 / 1.107 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68): time 0.001813/0.4054, allocations: 0.8337 MB / 1.108 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.4056, allocations: 196.5 kB / 1.108 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009697/0.4066, allocations: 0.6801 MB / 1.109 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.4066, allocations: 41.64 kB / 1.109 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.407, allocations: 427.9 kB / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.4072, allocations: 236.5 kB / 1.11 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.4074, allocations: 138.7 kB / 1.11 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4076, allocations: 341.9 kB / 1.11 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/0.4082, allocations: 300.7 kB / 1.111 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.4091, allocations: 478.2 kB / 1.111 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.4103, allocations: 0.6809 MB / 1.112 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4104, allocations: 0 / 1.112 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001758/0.4121, allocations: 0.8766 MB / 1.113 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.4122, allocations: 37.69 kB / 1.113 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4122, allocations: 4 kB / 1.113 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4122, allocations: 8 kB / 1.113 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.4128, allocations: 164.1 kB / 1.113 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/0.4129, allocations: 7.938 kB / 1.113 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.4135, allocations: 139 kB / 1.113 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.4135, allocations: 31.98 kB / 1.113 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006776/0.4142, allocations: 402 kB / 1.113 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005754/0.4148, allocations: 419.2 kB / 1.114 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008583/0.4157, allocations: 0.5717 MB / 1.114 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.926e-06/0.4157, allocations: 0 / 1.114 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001249/0.4169, allocations: 0.7594 MB / 1.115 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.417, allocations: 41.69 kB / 1.115 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.417, allocations: 4.375 kB / 1.115 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.417, allocations: 8 kB / 1.115 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.4175, allocations: 135.8 kB / 1.115 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4175, allocations: 11.92 kB / 1.115 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.4181, allocations: 111.5 kB / 1.115 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.4182, allocations: 28 kB / 1.115 GB, free: 4.73 MB / 0.8731 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.0002305/0.4184, allocations: 228.1 kB / 1.116 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.4185, allocations: 86.95 kB / 1.116 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.4199, allocations: 0.6553 MB / 1.116 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.42, allocations: 4.188 kB / 1.116 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.42, allocations: 0 / 1.116 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.42, allocations: 11.92 kB / 1.116 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.4225, allocations: 1.667 MB / 1.118 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.4225, allocations: 7.875 kB / 1.118 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.4231, allocations: 131.8 kB / 1.118 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4231, allocations: 4 kB / 1.118 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.4231, allocations: 19.98 kB / 1.118 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.4231, allocations: 4 kB / 1.118 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4231, allocations: 4 kB / 1.118 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.4249, allocations: 1.085 MB / 1.119 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.4251, allocations: 179.9 kB / 1.119 GB, free: 496 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.4252, allocations: 12 kB / 1.119 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.4255, allocations: 51.95 kB / 1.119 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.4256, allocations: 44.44 kB / 1.119 GB, free: 388 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.4257, allocations: 27.98 kB / 1.119 GB, free: 360 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006639/0.4263, allocations: 479 kB / 1.12 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4264, allocations: 0 / 1.12 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008922/0.4273, allocations: 318.8 kB / 1.12 GB, free: 15.58 MB / 0.8887 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.0002821/0.4275, allocations: 135 kB / 1.12 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002198/0.4297, allocations: 1.152 MB / 1.121 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4298, allocations: 0 / 1.121 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.4303, allocations: 306.9 kB / 1.122 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008712/0.4312, allocations: 185.8 kB / 1.122 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.4335, allocations: 1.478 MB / 1.123 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/0.4342, allocations: 0.9743 MB / 1.124 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003575/0.4346, allocations: 109.9 kB / 1.124 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.4348, allocations: 63.42 kB / 1.124 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of SimCode: time 3.4e-07/0.4348, allocations: 0 / 1.124 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of Templates: time 0.01784/0.4527, allocations: 9.812 MB / 1.134 GB, free: 1.355 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches