Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 288.2 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001379, allocations: 178.4 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 94.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00057/0.0005701, allocations: 13.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2635, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003581/0.2671, allocations: 2.894 MB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003525/0.2707, allocations: 1.995 MB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006079/0.2713, allocations: 23.94 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.2715, allocations: 75.09 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007082/0.2722, allocations: 179.3 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009781/0.2732, allocations: 366.5 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009494/0.2742, allocations: 0.6911 MB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.2748, allocations: 395.9 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.2751, allocations: 286.5 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.2755, allocations: 330 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.278e-05/0.2756, allocations: 32 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.2757, allocations: 39.98 kB / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2758, allocations: 135.3 kB / 0.9867 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.276, allocations: 173.1 kB / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008687/0.2768, allocations: 1.068 MB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2769, allocations: 0 / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2769, allocations: 0 / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.2769, allocations: 4 kB / 0.9879 GB, free: 18.9 MB / 0.6198 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.002506/0.2794, allocations: 1.266 MB / 0.9892 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.2795, allocations: 16.02 kB / 0.9892 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.2796, allocations: 131 kB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.2799, allocations: 122.6 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.2809, allocations: 0.6219 MB / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.281, allocations: 65.98 kB / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.2811, allocations: 95.89 kB / 0.9902 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.2828, allocations: 0.8206 MB / 0.991 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.2828, allocations: 0 / 0.991 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/0.2829, allocations: 40 kB / 0.991 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.2829, allocations: 16 kB / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.2846, allocations: 0.6363 MB / 0.9917 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004606/0.2892, allocations: 2.855 MB / 0.9945 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.2912, allocations: 0.7366 MB / 0.9952 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.2912, allocations: 8.562 kB / 0.9952 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008544/0.2921, allocations: 339 kB / 0.9955 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 3.838e-06/0.2921, allocations: 3.938 kB / 0.9955 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.002244/0.2944, allocations: 0.8223 MB / 0.9963 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.2945, allocations: 188.5 kB / 0.9965 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.2955, allocations: 0.7116 MB / 0.9972 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.2956, allocations: 37.7 kB / 0.9972 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.296, allocations: 451.7 kB / 0.9977 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.2961, allocations: 201.1 kB / 0.9978 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.2962, allocations: 16 kB / 0.9979 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.2963, allocations: 334 kB / 0.9982 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/0.297, allocations: 277.5 kB / 0.9984 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.2978, allocations: 459.8 kB / 0.9989 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/0.2986, allocations: 336.7 kB / 0.9992 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.2986, allocations: 4 kB / 0.9992 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001945/0.3006, allocations: 0.8411 MB / 1 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.3009, allocations: 1.173 MB / 1.001 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3009, allocations: 4 kB / 1.001 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.3009, allocations: 7.938 kB / 1.001 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/0.3017, allocations: 163.7 kB / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3017, allocations: 4 kB / 1.001 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008792/0.3026, allocations: 165 kB / 1.002 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/0.3027, allocations: 31.98 kB / 1.002 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.3027, allocations: 4 kB / 1.002 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/0.3038, allocations: 0.5981 MB / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3039, allocations: 4 kB / 1.002 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.3039, allocations: 4 kB / 1.002 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.3044, allocations: 120.2 kB / 1.002 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3045, allocations: 15.94 kB / 1.002 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.3052, allocations: 131.2 kB / 1.002 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.3052, allocations: 24 kB / 1.002 GB, free: 3.559 MB / 0.6198 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005163/0.3058, allocations: 300.9 kB / 1.003 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.3059, allocations: 82.97 kB / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.3061, allocations: 84.03 kB / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.3061, allocations: 8 kB / 1.003 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.3061, allocations: 7.953 kB / 1.003 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.3061, allocations: 3.984 kB / 1.003 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000906/0.3071, allocations: 0.7668 MB / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3071, allocations: 0 / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/0.3077, allocations: 127.8 kB / 1.004 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3078, allocations: 0 / 1.004 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.3078, allocations: 15.98 kB / 1.004 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3078, allocations: 8 kB / 1.004 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3078, allocations: 96 / 1.004 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.3099, allocations: 0.9485 MB / 1.005 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3101, allocations: 164 kB / 1.005 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.3102, allocations: 12 kB / 1.005 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.3106, allocations: 63.95 kB / 1.005 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.3107, allocations: 28.52 kB / 1.005 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.3107, allocations: 19.98 kB / 1.005 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006603/0.3114, allocations: 499 kB / 1.005 GB, free: 356 kB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3114, allocations: 0 / 1.005 GB, free: 356 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001008/0.3124, allocations: 314.6 kB / 1.006 GB, free: 40 kB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002927/0.3154, allocations: 1.509 MB / 1.007 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002662/0.3181, allocations: 1.069 MB / 1.008 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3181, allocations: 0 / 1.008 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000769/0.3189, allocations: 291.2 kB / 1.009 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.32, allocations: 159.8 kB / 1.009 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/0.3253, allocations: 4.363 MB / 1.013 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.326, allocations: 1.002 MB / 1.014 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005733/0.3266, allocations: 97.89 kB / 1.014 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/0.3272, allocations: 351.3 kB / 1.014 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of SimCode: time 8.81e-07/0.3272, allocations: 0 / 1.014 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.3704, allocations: 15.3 MB / 1.029 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.3706, allocations: 198 kB / 1.029 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.739, allocations: 0 / 1.029 GB, free: 7.68 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)