Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_10_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.007582/0.007582, allocations: 98.3 kB / 15.73 MB, free: 5.977 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.001971/0.001971, allocations: 196.9 kB / 16.68 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.18/2.18, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.116/4.116, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002953/0.002953, allocations: 67.89 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2/2.003, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005696/2.009, allocations: 3.622 MB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004387/2.013, allocations: 2.14 MB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008309/2.014, allocations: 19.94 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005505/2.015, allocations: 170.1 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005642/2.015, allocations: 146.6 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/2.017, allocations: 0.4989 MB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002024/2.019, allocations: 1.26 MB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/2.02, allocations: 0.5916 MB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006221/2.021, allocations: 438.3 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005936/2.021, allocations: 493.4 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/2.022, allocations: 128 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/2.022, allocations: 144 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/2.022, allocations: 255.1 kB / 1.176 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005117/2.023, allocations: 0.5089 MB / 1.176 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/2.024, allocations: 1.431 MB / 1.178 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/2.024, allocations: 0 / 1.178 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.705e-06/2.024, allocations: 0 / 1.178 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.576e-05/2.024, allocations: 4 kB / 1.178 GB, free: 7.902 MB / 0.9044 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.002995/2.027, allocations: 1.402 MB / 1.179 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/2.027, allocations: 8.922 kB / 1.179 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/2.028, allocations: 143.6 kB / 1.179 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/2.028, allocations: 124.2 kB / 1.179 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/2.029, allocations: 0.6031 MB / 1.18 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/2.029, allocations: 66.38 kB / 1.18 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/2.029, allocations: 96.33 kB / 1.18 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/2.031, allocations: 0.868 MB / 1.181 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/2.031, allocations: 3.938 kB / 1.181 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.177e-05/2.031, allocations: 36 kB / 1.181 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/2.031, allocations: 24 kB / 1.181 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/2.033, allocations: 0.6363 MB / 1.182 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006742/2.039, allocations: 2.969 MB / 1.185 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/2.042, allocations: 0.6753 MB / 1.185 GB, free: 4 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/2.043, allocations: 378.6 kB / 1.186 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.947e-05/2.043, allocations: 9.656 kB / 1.186 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/2.044, allocations: 351 kB / 1.186 GB, free: 15.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=68): time 4.849e-06/2.044, allocations: 3.938 kB / 1.186 GB, free: 15.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.002381/2.047, allocations: 0.8381 MB / 1.187 GB, free: 14.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/2.047, allocations: 188.5 kB / 1.187 GB, free: 14.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/2.048, allocations: 0.6763 MB / 1.188 GB, free: 13.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.573e-05/2.048, allocations: 45.69 kB / 1.188 GB, free: 13.46 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/2.048, allocations: 440.6 kB / 1.188 GB, free: 13.03 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/2.049, allocations: 245.9 kB / 1.188 GB, free: 12.79 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/2.049, allocations: 142.6 kB / 1.188 GB, free: 12.64 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001761/2.049, allocations: 337.9 kB / 1.189 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/2.05, allocations: 300.7 kB / 1.189 GB, free: 12.01 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/2.051, allocations: 482 kB / 1.189 GB, free: 11.47 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/2.052, allocations: 0.677 MB / 1.19 GB, free: 10.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.052, allocations: 0 / 1.19 GB, free: 10.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002155/2.054, allocations: 0.8891 MB / 1.191 GB, free: 9.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/2.054, allocations: 41.69 kB / 1.191 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/2.054, allocations: 4 kB / 1.191 GB, free: 9.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/2.054, allocations: 4 kB / 1.191 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/2.055, allocations: 163.7 kB / 1.191 GB, free: 9.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/2.055, allocations: 7.984 kB / 1.191 GB, free: 9.621 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007668/2.056, allocations: 147.3 kB / 1.191 GB, free: 9.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/2.056, allocations: 35.98 kB / 1.191 GB, free: 9.441 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001061/2.057, allocations: 396.2 kB / 1.192 GB, free: 9.055 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001057/2.058, allocations: 424.5 kB / 1.192 GB, free: 8.574 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001457/2.06, allocations: 0.5639 MB / 1.193 GB, free: 7.965 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.691e-06/2.06, allocations: 0 / 1.193 GB, free: 7.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.002597/2.062, allocations: 0.7678 MB / 1.193 GB, free: 7.184 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/2.062, allocations: 40.67 kB / 1.194 GB, free: 7.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/2.062, allocations: 0 / 1.194 GB, free: 7.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/2.062, allocations: 8 kB / 1.194 GB, free: 7.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/2.063, allocations: 139.8 kB / 1.194 GB, free: 6.996 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/2.063, allocations: 4 kB / 1.194 GB, free: 6.992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/2.064, allocations: 115.9 kB / 1.194 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/2.065, allocations: 35.98 kB / 1.194 GB, free: 6.844 MB / 0.92 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.000444/2.065, allocations: 220.1 kB / 1.194 GB, free: 6.621 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/2.065, allocations: 87.44 kB / 1.194 GB, free: 6.535 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/2.067, allocations: 0.6631 MB / 1.195 GB, free: 5.852 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/2.068, allocations: 4 kB / 1.195 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/2.068, allocations: 4 kB / 1.195 GB, free: 5.844 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/2.068, allocations: 7.984 kB / 1.195 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004413/2.072, allocations: 1.663 MB / 1.196 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/2.072, allocations: 192 / 1.196 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008965/2.073, allocations: 136.1 kB / 1.197 GB, free: 3.953 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/2.073, allocations: 7.938 kB / 1.197 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/2.073, allocations: 23.98 kB / 1.197 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/2.073, allocations: 4 kB / 1.197 GB, free: 3.918 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/2.073, allocations: 3.938 kB / 1.197 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/2.076, allocations: 1.097 MB / 1.198 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/2.077, allocations: 180.3 kB / 1.198 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/2.077, allocations: 16 kB / 1.198 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/2.078, allocations: 51.95 kB / 1.198 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/2.078, allocations: 40.5 kB / 1.198 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/2.078, allocations: 28.06 kB / 1.198 GB, free: 2.445 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001021/2.079, allocations: 479 kB / 1.198 GB, free: 1.98 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/2.079, allocations: 0 / 1.198 GB, free: 1.98 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001547/2.08, allocations: 327.1 kB / 1.199 GB, free: 1.66 MB / 0.92 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.003814/2.084, allocations: 1.661 MB / 1.2 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004119/2.088, allocations: 1.148 MB / 1.201 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/2.089, allocations: 4.188 kB / 1.201 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/2.09, allocations: 307 kB / 1.202 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/2.092, allocations: 183.3 kB / 1.202 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/2.112, allocations: 6.612 MB / 1.208 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/2.114, allocations: 0.9819 MB / 1.209 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008623/2.115, allocations: 97.91 kB / 1.209 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008834/2.115, allocations: 347.3 kB / 1.21 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of SimCode: time 1.804e-06/2.115, allocations: 4 kB / 1.21 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07664/2.192, allocations: 16.36 MB / 1.226 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/16.7, allocations: 4 kB / 1.226 GB, free: 5.809 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches