Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PIDInitialState,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_11_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.0075/0.0075, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002106/0.002106, allocations: 202.1 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003069/0.003069, allocations: 71.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2993, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003179/0.3025, allocations: 1.847 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3043, allocations: 1.263 MB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.3045, allocations: 8 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.3047, allocations: 71.2 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.3049, allocations: 59.44 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.3053, allocations: 159.7 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.3058, allocations: 493 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.3062, allocations: 271.4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.3064, allocations: 183.2 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.3066, allocations: 199 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.212e-05/0.3067, allocations: 52 kB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.3068, allocations: 52 kB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.3069, allocations: 107.6 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.3071, allocations: 214.8 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.3077, allocations: 0.5835 MB / 1.226 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3077, allocations: 7.984 kB / 1.226 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3077, allocations: 0 / 1.226 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.3078, allocations: 0 / 1.226 GB, free: 8.707 MB / 0.9825 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.001268/0.309, allocations: 0.7481 MB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3091, allocations: 11.97 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.488e-05/0.3092, allocations: 82.66 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.677e-05/0.3093, allocations: 52.61 kB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.3098, allocations: 348.5 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.3098, allocations: 29.38 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.3099, allocations: 44.33 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.3106, allocations: 411.5 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3107, allocations: 3.938 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.3107, allocations: 23.92 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.3107, allocations: 12 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.3113, allocations: 275.9 kB / 1.228 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.3134, allocations: 1.374 MB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/0.3142, allocations: 246.8 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.3144, allocations: 116.8 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3145, allocations: 4 kB / 1.229 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.3145, allocations: 34.56 kB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.3145, allocations: 0 / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0007237/0.3153, allocations: 303.1 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.3154, allocations: 106.8 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.3158, allocations: 409.6 kB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3159, allocations: 29.7 kB / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.3161, allocations: 256.1 kB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.3162, allocations: 79.36 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3163, allocations: 66.03 kB / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3165, allocations: 346.8 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.3168, allocations: 114.1 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.3172, allocations: 220.3 kB / 1.231 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.3177, allocations: 273.2 kB / 1.231 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3177, allocations: 3.938 kB / 1.231 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007469/0.3185, allocations: 366.8 kB / 1.232 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3185, allocations: 4 kB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3185, allocations: 7.938 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3185, allocations: 0 / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.3188, allocations: 75.89 kB / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3189, allocations: 8.219 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.3191, allocations: 51.7 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.3192, allocations: 20 kB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002871/0.3194, allocations: 204.7 kB / 1.232 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002661/0.3197, allocations: 187.3 kB / 1.232 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003474/0.3201, allocations: 229.7 kB / 1.233 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.3201, allocations: 0 / 1.233 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005378/0.3206, allocations: 321.1 kB / 1.233 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.3207, allocations: 4 kB / 1.233 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.3207, allocations: 4.219 kB / 1.233 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.3207, allocations: 11.94 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3209, allocations: 59.91 kB / 1.233 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3209, allocations: 4 kB / 1.233 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.3212, allocations: 43.77 kB / 1.233 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3212, allocations: 8 kB / 1.233 GB, free: 0.7812 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.0001372/0.3213, allocations: 200.2 kB / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.3214, allocations: 35.77 kB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.322, allocations: 250.3 kB / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.322, allocations: 0 / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.322, allocations: 0 / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.322, allocations: 0 / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.3233, allocations: 0.7887 MB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3234, allocations: 3.938 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.3236, allocations: 47.91 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3236, allocations: 0 / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3236, allocations: 12.14 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3236, allocations: 8 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3236, allocations: 0 / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.3244, allocations: 468.3 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.3246, allocations: 116.9 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.3246, allocations: 8 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.3248, allocations: 19.98 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3249, allocations: 19.86 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3249, allocations: 8 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003358/0.3252, allocations: 287.2 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3252, allocations: 4 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005017/0.3258, allocations: 127.7 kB / 1.235 GB, free: 14.28 MB / 0.9981 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.001139/0.3269, allocations: 1.006 MB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008213/0.3277, allocations: 385.9 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3277, allocations: 0.875 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.328, allocations: 100.1 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.3285, allocations: 80.3 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.3335, allocations: 3.428 MB / 1.24 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.334, allocations: 0.8035 MB / 1.241 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000168/0.3341, allocations: 39.27 kB / 1.241 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.3344, allocations: 135.4 kB / 1.241 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/0.3344, allocations: 0 / 1.241 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.3663, allocations: 6.863 MB / 1.248 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.502, allocations: 10.28 kB / 1.248 GB, free: 1.367 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches