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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001668/0.001668, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002193/0.002194, allocations: 198.1 kB / 16.53 MB, free: 6.672 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 469.4 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 71.73 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2793, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003473/0.2828, allocations: 1.859 MB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2844, allocations: 1.252 MB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.2847, allocations: 8 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.285, allocations: 75.19 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.2852, allocations: 59.45 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.2856, allocations: 163.7 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.2861, allocations: 489 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000387/0.2865, allocations: 275.4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.2866, allocations: 175.3 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.2869, allocations: 198.9 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.228e-05/0.2869, allocations: 56 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.515e-05/0.287, allocations: 56 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.2871, allocations: 107.6 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2872, allocations: 210.8 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.2877, allocations: 0.5648 MB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2877, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2877, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.2877, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 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.00116/0.2889, allocations: 0.733 MB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2889, allocations: 12.03 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.194e-05/0.289, allocations: 82.64 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/0.2891, allocations: 52.28 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.2895, allocations: 344.3 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.2895, allocations: 33.38 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.2896, allocations: 40.38 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.2903, allocations: 407.5 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2903, allocations: 7.938 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2903, allocations: 16 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.2903, allocations: 12 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.2909, allocations: 283.8 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.2928, allocations: 1.37 MB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.2935, allocations: 246.9 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.2937, allocations: 124.8 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2937, allocations: 4 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2938, allocations: 34.56 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.2938, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006653/0.2945, allocations: 294.9 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.2945, allocations: 114.8 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.2949, allocations: 409.5 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.295, allocations: 29.7 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.2951, allocations: 255.7 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.2952, allocations: 63.02 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.2953, allocations: 73.92 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2954, allocations: 346.8 kB / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.2957, allocations: 118.1 kB / 1.074 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.296, allocations: 212.3 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.2965, allocations: 265.6 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2965, allocations: 7.938 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006793/0.2972, allocations: 370.8 kB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2972, allocations: 9.719 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2972, allocations: 3.938 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2972, allocations: 4 kB / 1.075 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.2975, allocations: 75.89 kB / 1.075 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2975, allocations: 0 / 1.075 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.2978, allocations: 59.52 kB / 1.075 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.2978, allocations: 15.98 kB / 1.075 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002453/0.2981, allocations: 200.8 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002082/0.2983, allocations: 183 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002884/0.2986, allocations: 229.5 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.2986, allocations: 4 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004837/0.2991, allocations: 325 kB / 1.076 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.2991, allocations: 4 kB / 1.076 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2991, allocations: 4 kB / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/0.2991, allocations: 3.938 kB / 1.076 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.2994, allocations: 63.92 kB / 1.076 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2994, allocations: 3.984 kB / 1.076 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.2996, allocations: 43.89 kB / 1.076 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2996, allocations: 16 kB / 1.076 GB, free: 1.016 MB / 0.8262 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.0001024/0.2997, allocations: 192.2 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.2998, allocations: 31.62 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.3003, allocations: 254.7 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3003, allocations: 8 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3003, allocations: 0 / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3003, allocations: 0 / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.3015, allocations: 0.7833 MB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3015, allocations: 0 / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.3017, allocations: 43.91 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3017, allocations: 4 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3017, allocations: 4 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3017, allocations: 4 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3017, allocations: 4 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.3025, allocations: 467.2 kB / 1.078 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.3026, allocations: 124.6 kB / 1.078 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.3026, allocations: 8 kB / 1.078 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.3028, allocations: 15.97 kB / 1.078 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.3028, allocations: 19.92 kB / 1.078 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3029, allocations: 4 kB / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002754/0.3031, allocations: 287.2 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3032, allocations: 7.938 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004698/0.3036, allocations: 131.5 kB / 1.079 GB, free: 14.53 MB / 0.8419 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.0009463/0.3046, allocations: 0.9955 MB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007559/0.3053, allocations: 397.4 kB / 1.08 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3054, allocations: 4 kB / 1.08 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.3056, allocations: 94.34 kB / 1.08 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.3061, allocations: 77.44 kB / 1.08 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.3105, allocations: 3.445 MB / 1.084 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.3108, allocations: 0.8036 MB / 1.084 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.311, allocations: 47.52 kB / 1.084 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.3111, allocations: 131.4 kB / 1.085 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3111, allocations: 4 kB / 1.085 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.3359, allocations: 6.746 MB / 1.091 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.416, allocations: 8.594 kB / 1.091 GB, free: 1.691 MB / 0.8419 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 50 --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