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.0007392/0.0007392, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008277/0.0008277, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.124/1.124, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.492/1.492, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.00045/0.00045, allocations: 18.03 kB / 0.6739 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 116.3 MB / 0.7874 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003224/0.2132, allocations: 2.866 MB / 0.7902 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003025/0.2163, allocations: 2.007 MB / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.217, allocations: 19.94 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.2174, allocations: 114.8 kB / 0.7923 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000624/0.2181, allocations: 111.2 kB / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009451/0.219, allocations: 339 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.2204, allocations: 1.065 MB / 0.7938 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000607/0.221, allocations: 395.9 kB / 0.7942 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.2214, allocations: 282.3 kB / 0.7944 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.2217, allocations: 333.9 kB / 0.7947 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.2218, allocations: 32 kB / 0.7948 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2219, allocations: 36 kB / 0.7948 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.222, allocations: 135.2 kB / 0.7949 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.2221, allocations: 177.1 kB / 0.7951 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008158/0.223, allocations: 1.072 MB / 0.7962 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.223, allocations: 0 / 0.7962 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.223, allocations: 0 / 0.7962 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.223, allocations: 0 / 0.7962 GB, free: 2.777 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.001848/0.2249, allocations: 1.27 MB / 0.7974 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2249, allocations: 12.03 kB / 0.7974 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.225, allocations: 127 kB / 0.7975 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.2252, allocations: 118.6 kB / 0.7976 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.226, allocations: 0.6257 MB / 0.7983 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.2261, allocations: 66 kB / 0.7983 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.2262, allocations: 88 kB / 0.7984 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.2276, allocations: 0.8245 MB / 0.7992 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.2276, allocations: 7.938 kB / 0.7992 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.2277, allocations: 36 kB / 0.7992 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.2277, allocations: 19.98 kB / 0.7993 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.2288, allocations: 0.6441 MB / 0.7999 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/0.2324, allocations: 2.848 MB / 0.8027 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.2337, allocations: 0.7161 MB / 0.8034 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.2342, allocations: 354.4 kB / 0.8037 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.2343, allocations: 8.562 kB / 0.8037 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006578/0.235, allocations: 343 kB / 0.804 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.435e-06/0.235, allocations: 0 / 0.804 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.001521/0.2365, allocations: 0.8181 MB / 0.8048 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.2366, allocations: 192.5 kB / 0.805 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.2375, allocations: 0.7038 MB / 0.8057 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.2376, allocations: 37.7 kB / 0.8058 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.2379, allocations: 463.6 kB / 0.8062 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.2381, allocations: 201.1 kB / 0.8064 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.2381, allocations: 12 kB / 0.8064 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2383, allocations: 334 kB / 0.8067 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.2388, allocations: 273.5 kB / 0.807 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.2395, allocations: 456.8 kB / 0.8074 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005943/0.2401, allocations: 344.7 kB / 0.8077 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2401, allocations: 0 / 0.8077 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001387/0.2415, allocations: 0.845 MB / 0.8086 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.2416, allocations: 207.4 kB / 0.8088 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.2417, allocations: 4 kB / 0.8088 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2417, allocations: 12 kB / 0.8088 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.2422, allocations: 163.7 kB / 0.8089 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.2423, allocations: 8 kB / 0.8089 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.2428, allocations: 163.1 kB / 0.8091 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.2429, allocations: 31.98 kB / 0.8091 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.2429, allocations: 4 kB / 0.8091 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009039/0.2438, allocations: 0.5942 MB / 0.8097 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2438, allocations: 8.312 kB / 0.8097 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.2439, allocations: 12 kB / 0.8097 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.2443, allocations: 119.8 kB / 0.8098 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.2443, allocations: 11.98 kB / 0.8099 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.2448, allocations: 127.2 kB / 0.81 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.2448, allocations: 28 kB / 0.81 GB, free: 4.109 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,$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.0003865/0.2452, allocations: 302.3 kB / 0.8103 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-05/0.2453, allocations: 78.97 kB / 0.8104 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.2455, allocations: 92.11 kB / 0.8105 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2455, allocations: 11.94 kB / 0.8105 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2455, allocations: 0 / 0.8105 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2455, allocations: 7.938 kB / 0.8105 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.2464, allocations: 0.7668 MB / 0.8112 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2464, allocations: 0 / 0.8112 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.2469, allocations: 119.9 kB / 0.8113 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/0.2469, allocations: 8 kB / 0.8113 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.247, allocations: 12 kB / 0.8114 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.247, allocations: 3.984 kB / 0.8114 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.247, allocations: 0 / 0.8114 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.2486, allocations: 0.9485 MB / 0.8123 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.2487, allocations: 168 kB / 0.8124 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.2488, allocations: 15.98 kB / 0.8125 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.2491, allocations: 59.95 kB / 0.8125 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.2492, allocations: 32.52 kB / 0.8126 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.2492, allocations: 19.98 kB / 0.8126 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005938/0.2498, allocations: 491 kB / 0.813 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2498, allocations: 0 / 0.813 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007598/0.2506, allocations: 318.7 kB / 0.8133 GB, free: 0.5898 MB / 0.6231 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.002112/0.2527, allocations: 1.509 MB / 0.8148 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.2546, allocations: 1.065 MB / 0.8159 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2546, allocations: 4.188 kB / 0.8159 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.2551, allocations: 295.1 kB / 0.8161 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.2558, allocations: 163.1 kB / 0.8163 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/0.2629, allocations: 4.914 MB / 0.8211 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.2635, allocations: 0.986 MB / 0.8221 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003574/0.2639, allocations: 93.91 kB / 0.8222 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.2643, allocations: 347.3 kB / 0.8225 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.2643, allocations: 0 / 0.8225 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06587/0.3302, allocations: 15.74 MB / 0.8378 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.3305, allocations: 189.1 kB / 0.838 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.29, allocations: 7.938 kB / 0.838 GB, free: 7.238 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --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) Environment - environmentSimulation: