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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005287/0.005287, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001135/0.001135, allocations: 198.4 kB / 16.68 MB, free: 5.961 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.607/2.607, allocations: 469.4 MB / 0.7421 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 1.064 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8707, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005855/0.8766, allocations: 3.617 MB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004822/0.8815, allocations: 2.136 MB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.8827, allocations: 19.94 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007323/0.8835, allocations: 170.1 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009504/0.8844, allocations: 154.6 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.886, allocations: 0.498 MB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.8878, allocations: 1.26 MB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.8889, allocations: 0.5954 MB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005614/0.8894, allocations: 446.2 kB / 1.228 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.8901, allocations: 485.5 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.8903, allocations: 128 kB / 1.229 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.8906, allocations: 151.9 kB / 1.229 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.8908, allocations: 255.1 kB / 1.229 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.8913, allocations: 0.5012 MB / 1.23 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.8927, allocations: 1.439 MB / 1.231 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8927, allocations: 0 / 1.231 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8927, allocations: 0 / 1.231 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.379e-05/0.8928, allocations: 4 kB / 1.231 GB, free: 6.391 MB / 0.9512 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.002929/0.8957, allocations: 1.394 MB / 1.233 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.8958, allocations: 8.625 kB / 1.233 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/0.896, allocations: 135.6 kB / 1.233 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.8962, allocations: 124.2 kB / 1.233 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/0.8972, allocations: 0.6108 MB / 1.234 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/0.8973, allocations: 70.38 kB / 1.234 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.8974, allocations: 92.38 kB / 1.234 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.899, allocations: 0.8602 MB / 1.235 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.899, allocations: 3.938 kB / 1.235 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.8991, allocations: 36 kB / 1.235 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.8991, allocations: 24 kB / 1.235 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.9005, allocations: 0.6402 MB / 1.235 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004678/0.9052, allocations: 2.969 MB / 1.238 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.9067, allocations: 0.683 MB / 1.239 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.9073, allocations: 378.6 kB / 1.239 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/0.9074, allocations: 9.656 kB / 1.239 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006924/0.9081, allocations: 343 kB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=68): time 2.816e-06/0.9081, allocations: 0 / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=68): time 0.001886/0.91, allocations: 0.8419 MB / 1.24 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.9101, allocations: 188.5 kB / 1.241 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.911, allocations: 0.6802 MB / 1.241 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/0.9111, allocations: 41.69 kB / 1.241 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.9115, allocations: 444.5 kB / 1.242 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.9117, allocations: 241.9 kB / 1.242 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.912, allocations: 142.6 kB / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.9121, allocations: 341.9 kB / 1.242 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.9128, allocations: 296.7 kB / 1.243 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007843/0.9136, allocations: 482.2 kB / 1.243 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.9149, allocations: 0.677 MB / 1.244 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.9149, allocations: 0 / 1.244 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001773/0.9167, allocations: 0.877 MB / 1.245 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.9167, allocations: 38.17 kB / 1.245 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.9168, allocations: 15.92 kB / 1.245 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.9168, allocations: 4 kB / 1.245 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.9174, allocations: 163.8 kB / 1.245 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.9174, allocations: 7.938 kB / 1.245 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/0.9181, allocations: 147.3 kB / 1.245 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.9182, allocations: 31.98 kB / 1.245 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006439/0.9189, allocations: 398 kB / 1.245 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005565/0.9194, allocations: 418.2 kB / 1.246 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008159/0.9203, allocations: 0.5639 MB / 1.246 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.9203, allocations: 0 / 1.246 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001333/0.9216, allocations: 0.7719 MB / 1.247 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.9217, allocations: 37.7 kB / 1.247 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.9217, allocations: 0 / 1.247 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.9217, allocations: 8 kB / 1.247 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.9222, allocations: 135.8 kB / 1.247 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.9222, allocations: 7.938 kB / 1.247 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006152/0.9228, allocations: 119.5 kB / 1.247 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.9229, allocations: 35.97 kB / 1.247 GB, free: 5.34 MB / 0.9669 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.000218/0.9231, allocations: 224.6 kB / 1.248 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.9232, allocations: 83.48 kB / 1.248 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.9246, allocations: 0.6592 MB / 1.248 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.9246, allocations: 4 kB / 1.248 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9246, allocations: 0 / 1.248 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.9246, allocations: 7.984 kB / 1.248 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.9272, allocations: 1.679 MB / 1.25 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9272, allocations: 0 / 1.25 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.9277, allocations: 135.7 kB / 1.25 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.9278, allocations: 4 kB / 1.25 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.9278, allocations: 16 kB / 1.25 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.9278, allocations: 12.27 kB / 1.25 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9278, allocations: 0 / 1.25 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.9297, allocations: 1.097 MB / 1.251 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.9299, allocations: 176.4 kB / 1.251 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/0.93, allocations: 12 kB / 1.251 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.9304, allocations: 47.95 kB / 1.251 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.9304, allocations: 52.44 kB / 1.251 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.9305, allocations: 23.94 kB / 1.252 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005647/0.9311, allocations: 479 kB / 1.252 GB, free: 500 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9311, allocations: 0 / 1.252 GB, free: 500 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009106/0.932, allocations: 319.1 kB / 1.252 GB, free: 180 kB / 0.9669 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.002206/0.9342, allocations: 1.673 MB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.9364, allocations: 1.147 MB / 1.255 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9364, allocations: 1.5 kB / 1.255 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005527/0.9369, allocations: 311.5 kB / 1.255 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.9379, allocations: 185.3 kB / 1.256 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.9482, allocations: 6.627 MB / 1.262 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.9489, allocations: 0.9782 MB / 1.263 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004144/0.9493, allocations: 105.9 kB / 1.263 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.9498, allocations: 347.3 kB / 1.263 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/0.9498, allocations: 0 / 1.263 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.9919, allocations: 16.37 MB / 1.279 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.343/10.33, allocations: 7.812 kB / 1.279 GB, free: 4.281 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.csv","/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