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.007037/0.007037, allocations: 95.58 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.001446/0.001446, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 65.2 kB / 0.9509 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3596, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.005757/0.3654, allocations: 3.613 MB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003774/0.3692, allocations: 2.121 MB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005038/0.3698, allocations: 23.94 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.3702, allocations: 178.1 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.3706, allocations: 146.6 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.3719, allocations: 0.5076 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.3735, allocations: 1.26 MB / 1.096 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.3745, allocations: 0.5916 MB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008745/0.3754, allocations: 458.2 kB / 1.097 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004637/0.3759, allocations: 485.4 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.376, allocations: 132 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.3762, allocations: 136 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.3765, allocations: 255.1 kB / 1.098 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.3769, allocations: 0.505 MB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.3782, allocations: 1.435 MB / 1.1 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3782, allocations: 0 / 1.1 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3782, allocations: 4 kB / 1.1 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.3782, allocations: 0 / 1.1 GB, free: 5.586 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.002348/0.3806, allocations: 1.398 MB / 1.101 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3806, allocations: 8.031 kB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.3808, allocations: 124.2 kB / 1.101 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.3817, allocations: 0.6031 MB / 1.102 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.3818, allocations: 70.38 kB / 1.102 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3819, allocations: 88.38 kB / 1.102 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.3834, allocations: 0.868 MB / 1.103 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3834, allocations: 4.188 kB / 1.103 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.3835, allocations: 39.94 kB / 1.103 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3835, allocations: 27.94 kB / 1.103 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.3848, allocations: 0.6324 MB / 1.103 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/0.3889, allocations: 2.969 MB / 1.106 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3904, allocations: 0.6791 MB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.3911, allocations: 378.6 kB / 1.107 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.3911, allocations: 9.656 kB / 1.107 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006584/0.3918, allocations: 362.9 kB / 1.108 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=68): time 2.405e-06/0.3918, allocations: 0 / 1.108 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68): time 0.001731/0.3935, allocations: 0.8225 MB / 1.108 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.3937, allocations: 192.5 kB / 1.109 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.3945, allocations: 0.6763 MB / 1.109 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.3945, allocations: 45.7 kB / 1.109 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.3949, allocations: 436.6 kB / 1.11 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.3951, allocations: 241.9 kB / 1.11 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.3953, allocations: 150.6 kB / 1.11 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3954, allocations: 337.9 kB / 1.11 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000678/0.3961, allocations: 296.7 kB / 1.111 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/0.3969, allocations: 479.6 kB / 1.111 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3981, allocations: 0.677 MB / 1.112 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3982, allocations: 8 kB / 1.112 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001671/0.3998, allocations: 0.8773 MB / 1.113 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.3999, allocations: 41.69 kB / 1.113 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3999, allocations: 4.094 kB / 1.113 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.3999, allocations: 11.94 kB / 1.113 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.4006, allocations: 159.7 kB / 1.113 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.4006, allocations: 8 kB / 1.113 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.4012, allocations: 143.3 kB / 1.113 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.4013, allocations: 31.98 kB / 1.113 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006184/0.4019, allocations: 398 kB / 1.113 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005756/0.4025, allocations: 422.2 kB / 1.114 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007862/0.4033, allocations: 0.5639 MB / 1.114 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/0.4033, allocations: 4 kB / 1.114 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001239/0.4045, allocations: 0.7716 MB / 1.115 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.4046, allocations: 33.7 kB / 1.115 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4046, allocations: 7.984 kB / 1.115 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-06/0.4046, allocations: 4 kB / 1.115 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.4051, allocations: 139.8 kB / 1.115 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4051, allocations: 8.375 kB / 1.115 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.4057, allocations: 119.5 kB / 1.115 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.4057, allocations: 28 kB / 1.115 GB, free: 4.672 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.0002223/0.4059, allocations: 234.6 kB / 1.116 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.406, allocations: 83.48 kB / 1.116 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.4073, allocations: 0.6631 MB / 1.116 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.4073, allocations: 12 kB / 1.116 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4074, allocations: 0 / 1.116 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4074, allocations: 3.984 kB / 1.116 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.4099, allocations: 1.667 MB / 1.118 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.4099, allocations: 8.219 kB / 1.118 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.4104, allocations: 135.8 kB / 1.118 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4104, allocations: 4 kB / 1.118 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.4105, allocations: 19.98 kB / 1.118 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.4105, allocations: 7.938 kB / 1.118 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.4105, allocations: 4 kB / 1.118 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.4123, allocations: 1.089 MB / 1.119 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.4125, allocations: 172.4 kB / 1.119 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.4126, allocations: 20 kB / 1.119 GB, free: 404 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.4129, allocations: 47.95 kB / 1.119 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.413, allocations: 40.5 kB / 1.12 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.4131, allocations: 23.98 kB / 1.12 GB, free: 292 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000589/0.4136, allocations: 483 kB / 1.12 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4137, allocations: 4 kB / 1.12 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008281/0.4145, allocations: 327 kB / 1.12 GB, free: 15.5 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.0002443/0.4147, allocations: 135.1 kB / 1.12 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002094/0.4168, allocations: 1.148 MB / 1.122 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4169, allocations: 4 kB / 1.122 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006082/0.4175, allocations: 303.3 kB / 1.122 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4185, allocations: 184.6 kB / 1.122 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.4209, allocations: 1.503 MB / 1.124 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.4215, allocations: 0.9782 MB / 1.124 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.4219, allocations: 97.91 kB / 1.125 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.422, allocations: 71.41 kB / 1.125 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of SimCode: time 2.21e-07/0.422, allocations: 0 / 1.125 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of Templates: time 0.01987/0.4419, allocations: 9.811 MB / 1.134 GB, free: 1.254 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