Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",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.008303/0.008303, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.002251/0.002251, allocations: 195.3 kB / 16.67 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.437/1.437, 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 12.0.0-master/package.mo): time 2.784/2.784, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 74.45 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3007, allocations: 162.2 MB / 1.242 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003134/0.3039, allocations: 1.849 MB / 1.243 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3056, allocations: 1.256 MB / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.3058, allocations: 8 kB / 1.245 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.3061, allocations: 79.19 kB / 1.245 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3062, allocations: 59.39 kB / 1.245 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.3066, allocations: 155.8 kB / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.3071, allocations: 489 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.3075, allocations: 279.4 kB / 1.246 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3077, allocations: 175.2 kB / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.308, allocations: 199 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.801e-05/0.308, allocations: 52 kB / 1.246 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.411e-05/0.3081, allocations: 52 kB / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3082, allocations: 111.6 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.3084, allocations: 214.8 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006843/0.3091, allocations: 0.5875 MB / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3091, allocations: 0 / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3091, allocations: 0 / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3091, allocations: 3.938 kB / 1.247 GB, free: 3.676 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001295/0.3104, allocations: 0.7535 MB / 1.248 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3105, allocations: 8.031 kB / 1.248 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.3106, allocations: 78.72 kB / 1.248 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.923e-05/0.3107, allocations: 56.61 kB / 1.248 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.3113, allocations: 348.5 kB / 1.248 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.3114, allocations: 41.31 kB / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.3114, allocations: 36.38 kB / 1.248 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.3122, allocations: 407.6 kB / 1.249 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3122, allocations: 7.938 kB / 1.249 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.3123, allocations: 16 kB / 1.249 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3123, allocations: 8 kB / 1.249 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006165/0.3129, allocations: 279.8 kB / 1.249 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.3151, allocations: 1.378 MB / 1.25 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008496/0.3159, allocations: 250.9 kB / 1.25 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.3162, allocations: 120.8 kB / 1.251 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3162, allocations: 0 / 1.251 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3163, allocations: 42.55 kB / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.3163, allocations: 0 / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0007311/0.317, allocations: 295 kB / 1.251 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.3171, allocations: 106.8 kB / 1.251 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.3176, allocations: 401.6 kB / 1.251 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.3176, allocations: 33.7 kB / 1.251 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.3178, allocations: 252.2 kB / 1.252 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/0.3179, allocations: 83.31 kB / 1.252 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.318, allocations: 66.02 kB / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3182, allocations: 346.8 kB / 1.252 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.3185, allocations: 118.1 kB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.3189, allocations: 212.3 kB / 1.252 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.3194, allocations: 277.4 kB / 1.253 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3194, allocations: 0 / 1.253 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007577/0.3202, allocations: 369.3 kB / 1.253 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3202, allocations: 5.719 kB / 1.253 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3202, allocations: 7.938 kB / 1.253 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3203, allocations: 4 kB / 1.253 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.3206, allocations: 67.91 kB / 1.253 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3206, allocations: 4 kB / 1.253 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.3208, allocations: 67.53 kB / 1.253 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.3209, allocations: 12 kB / 1.253 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002826/0.3212, allocations: 208.7 kB / 1.253 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002531/0.3214, allocations: 175.4 kB / 1.254 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003503/0.3218, allocations: 229.7 kB / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.3218, allocations: 4 kB / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005375/0.3224, allocations: 319.2 kB / 1.254 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.3224, allocations: 8 kB / 1.254 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.3224, allocations: 0 / 1.254 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.3224, allocations: 7.938 kB / 1.254 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.3226, allocations: 67.91 kB / 1.254 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3227, allocations: 7.984 kB / 1.254 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.3229, allocations: 44.03 kB / 1.254 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/0.323, allocations: 16 kB / 1.254 GB, free: 11.74 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001381/0.3231, allocations: 196.7 kB / 1.254 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.3232, allocations: 35.77 kB / 1.254 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005441/0.3238, allocations: 237 kB / 1.255 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3238, allocations: 8 kB / 1.255 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3238, allocations: 0 / 1.255 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3238, allocations: 3.984 kB / 1.255 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.3251, allocations: 0.791 MB / 1.255 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3251, allocations: 0 / 1.255 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.3253, allocations: 39.98 kB / 1.256 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.3254, allocations: 7.984 kB / 1.256 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3254, allocations: 0 / 1.256 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.3254, allocations: 4 kB / 1.256 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3254, allocations: 3.938 kB / 1.256 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.3262, allocations: 469.2 kB / 1.256 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.3264, allocations: 128.8 kB / 1.256 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.3264, allocations: 4 kB / 1.256 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.3266, allocations: 15.98 kB / 1.256 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3267, allocations: 27.8 kB / 1.256 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3267, allocations: 7.984 kB / 1.256 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003333/0.327, allocations: 283.2 kB / 1.256 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.327, allocations: 0 / 1.256 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004908/0.3275, allocations: 131.7 kB / 1.257 GB, free: 9.25 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001136/0.3287, allocations: 0.9936 MB / 1.258 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008742/0.3296, allocations: 393.2 kB / 1.258 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.3296, allocations: 4 kB / 1.258 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3298, allocations: 101 kB / 1.258 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.3303, allocations: 81.39 kB / 1.258 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.3353, allocations: 3.426 MB / 1.261 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.3358, allocations: 0.7957 MB / 1.262 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001698/0.336, allocations: 51.52 kB / 1.262 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.3362, allocations: 131.4 kB / 1.262 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3362, allocations: 0 / 1.262 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.3674, allocations: 6.851 MB / 1.269 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.613, allocations: 10.77 kB / 1.269 GB, free: 12.35 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches