Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_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.001423/0.001423, allocations: 109.4 kB / 15.69 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.001989/0.001989, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 74.3 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2726, allocations: 114.6 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004824/0.2775, allocations: 3.582 MB / 0.7872 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003483/0.281, allocations: 2.108 MB / 0.7892 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008206/0.282, allocations: 19.94 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.2825, allocations: 166.1 kB / 0.7894 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006403/0.2831, allocations: 158.5 kB / 0.7895 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.2844, allocations: 0.494 MB / 0.79 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.2857, allocations: 1.244 MB / 0.7912 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008561/0.2866, allocations: 0.5638 MB / 0.7918 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005154/0.2871, allocations: 438.2 kB / 0.7922 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.2876, allocations: 481.5 kB / 0.7927 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.2877, allocations: 128 kB / 0.7928 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.2879, allocations: 147.9 kB / 0.7929 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.2881, allocations: 251.1 kB / 0.7932 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.2885, allocations: 0.5011 MB / 0.7937 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.29, allocations: 1.436 MB / 0.7951 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.29, allocations: 3.984 kB / 0.7951 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.159e-06/0.29, allocations: 0 / 0.7951 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.2901, allocations: 3.938 kB / 0.7951 GB, free: 1.469 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002718/0.2928, allocations: 1.398 MB / 0.7964 GB, free: 8 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.88e-05/0.2929, allocations: 12.08 kB / 0.7964 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.293, allocations: 127.1 kB / 0.7966 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.2932, allocations: 119.5 kB / 0.7967 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.2942, allocations: 0.6617 MB / 0.7973 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.2942, allocations: 66.38 kB / 0.7974 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.2944, allocations: 84.38 kB / 0.7975 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.2957, allocations: 0.8133 MB / 0.7983 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2958, allocations: 3.938 kB / 0.7983 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.2958, allocations: 36 kB / 0.7983 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.2958, allocations: 20 kB / 0.7983 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.2971, allocations: 0.6129 MB / 0.7989 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.3009, allocations: 2.785 MB / 0.8016 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.3022, allocations: 0.6509 MB / 0.8023 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.3028, allocations: 345.6 kB / 0.8026 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.3029, allocations: 4.562 kB / 0.8026 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.3035, allocations: 323.6 kB / 0.8029 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.615e-06/0.3035, allocations: 4 kB / 0.8029 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.00168/0.3052, allocations: 0.7556 MB / 0.8037 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3053, allocations: 196.5 kB / 0.8038 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.3062, allocations: 0.7117 MB / 0.8045 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/0.3063, allocations: 41.64 kB / 0.8046 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.3066, allocations: 455.7 kB / 0.805 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.3068, allocations: 205 kB / 0.8052 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.307, allocations: 130.2 kB / 0.8053 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3071, allocations: 338 kB / 0.8057 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/0.3077, allocations: 267.6 kB / 0.8059 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/0.3084, allocations: 444.8 kB / 0.8063 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3095, allocations: 0.6183 MB / 0.8069 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3095, allocations: 0 / 0.8069 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001523/0.311, allocations: 0.8134 MB / 0.8077 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.3111, allocations: 41.62 kB / 0.8078 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3111, allocations: 4 kB / 0.8078 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3111, allocations: 4 kB / 0.8078 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.3117, allocations: 152.2 kB / 0.8079 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.3117, allocations: 11.98 kB / 0.8079 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.3124, allocations: 123.2 kB / 0.8081 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.3124, allocations: 28 kB / 0.8081 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005888/0.313, allocations: 365.7 kB / 0.8084 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004899/0.3135, allocations: 392.8 kB / 0.8088 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006932/0.3142, allocations: 0.509 MB / 0.8093 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.3142, allocations: 4 kB / 0.8093 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001097/0.3154, allocations: 0.6925 MB / 0.81 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.3154, allocations: 41.69 kB / 0.81 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3154, allocations: 4 kB / 0.81 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.3154, allocations: 4 kB / 0.81 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.3159, allocations: 123.8 kB / 0.8102 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3159, allocations: 8.312 kB / 0.8102 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.3165, allocations: 111.5 kB / 0.8103 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.3165, allocations: 24 kB / 0.8103 GB, free: 1.254 MB / 0.6231 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 (81): * Single equations (assignments): 80 * 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.0002332/0.3168, allocations: 227.3 kB / 0.8105 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.3169, allocations: 86.95 kB / 0.8106 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.3171, allocations: 88.03 kB / 0.8107 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.3172, allocations: 8 kB / 0.8107 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3172, allocations: 0 / 0.8107 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3172, allocations: 3.984 kB / 0.8107 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009367/0.3181, allocations: 0.7705 MB / 0.8114 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3181, allocations: 0 / 0.8114 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.3187, allocations: 115.8 kB / 0.8115 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.3187, allocations: 4 kB / 0.8116 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.3188, allocations: 19.98 kB / 0.8116 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3188, allocations: 4.188 kB / 0.8116 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3188, allocations: 4 kB / 0.8116 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.3205, allocations: 0.8861 MB / 0.8124 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.3207, allocations: 164 kB / 0.8126 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3208, allocations: 12 kB / 0.8126 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.3212, allocations: 43.95 kB / 0.8127 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.3212, allocations: 36.52 kB / 0.8127 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.3213, allocations: 19.98 kB / 0.8127 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006238/0.3219, allocations: 0.4912 MB / 0.8132 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3219, allocations: 0 / 0.8132 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008443/0.3228, allocations: 314.7 kB / 0.8135 GB, free: 13.88 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (59): * Single equations (assignments): 58 * 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.00219/0.325, allocations: 1.458 MB / 0.8149 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002078/0.3271, allocations: 1.033 MB / 0.8159 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3271, allocations: 0 / 0.8159 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.3276, allocations: 272.2 kB / 0.8162 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.3286, allocations: 184.7 kB / 0.8164 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.3391, allocations: 6.336 MB / 0.8225 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.3398, allocations: 0.9779 MB / 0.8235 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004173/0.3402, allocations: 101.9 kB / 0.8236 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.3407, allocations: 347.3 kB / 0.8239 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of SimCode: time 1.302e-06/0.3407, allocations: 0 / 0.8239 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04244/0.3832, allocations: 15.91 MB / 0.8395 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.187/9.571, allocations: 8.281 kB / 0.8395 GB, free: 3.191 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)