Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.584/2.584, allocations: 287.5 MB / 302.4 MB, free: 8.227 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.001386/0.001386, allocations: 184.7 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001406/0.001406, allocations: 82.42 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005028, allocations: 17.56 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2082, allocations: 115.3 MB / 0.9785 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004018/0.2123, allocations: 2.854 MB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004031/0.2164, allocations: 2.007 MB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009401/0.2174, allocations: 19.94 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.2179, allocations: 118.8 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008172/0.2187, allocations: 103.2 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2201, allocations: 345.4 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.2218, allocations: 1.049 MB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008482/0.2227, allocations: 403.8 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.2231, allocations: 282.4 kB / 0.9855 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.2235, allocations: 329.9 kB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.2237, allocations: 32 kB / 0.9858 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.2239, allocations: 43.98 kB / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.224, allocations: 135.3 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.2242, allocations: 173.1 kB / 0.9861 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.2254, allocations: 1.071 MB / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2254, allocations: 0 / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2254, allocations: 0 / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.462e-05/0.2255, allocations: 0 / 0.9872 GB, free: 19.25 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.003327/0.2288, allocations: 1.272 MB / 0.9884 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.2289, allocations: 12.02 kB / 0.9884 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002675/0.2291, allocations: 131 kB / 0.9886 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.2294, allocations: 114.6 kB / 0.9887 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.2308, allocations: 0.6258 MB / 0.9893 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/0.2309, allocations: 70 kB / 0.9894 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.231, allocations: 91.91 kB / 0.9894 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.2331, allocations: 0.8245 MB / 0.9903 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.2332, allocations: 0 / 0.9903 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.2333, allocations: 36 kB / 0.9903 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.2334, allocations: 20 kB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.2355, allocations: 0.6402 MB / 0.9909 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005858/0.2414, allocations: 2.852 MB / 0.9937 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.2438, allocations: 0.7177 MB / 0.9944 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009874/0.2448, allocations: 353.7 kB / 0.9948 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.229e-05/0.2449, allocations: 12.52 kB / 0.9948 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.2459, allocations: 343 kB / 0.9951 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 4.007e-06/0.246, allocations: 4 kB / 0.9951 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.002726/0.2487, allocations: 0.8181 MB / 0.9959 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.2488, allocations: 188.5 kB / 0.9961 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.25, allocations: 0.7116 MB / 0.9968 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.2502, allocations: 41.7 kB / 0.9968 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.2506, allocations: 455.7 kB / 0.9972 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.2508, allocations: 201.1 kB / 0.9974 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.2509, allocations: 12 kB / 0.9974 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.2509, allocations: 330 kB / 0.9978 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009622/0.2519, allocations: 273.5 kB / 0.998 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.253, allocations: 464.7 kB / 0.9985 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2541, allocations: 340.6 kB / 0.9988 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2542, allocations: 8 kB / 0.9988 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002573/0.2568, allocations: 0.8488 MB / 0.9996 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.257, allocations: 209.9 kB / 0.9998 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.257, allocations: 0 / 0.9998 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.257, allocations: 8 kB / 0.9998 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.2588, allocations: 155.7 kB / 1 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-05/0.2589, allocations: 4 kB / 1 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.2608, allocations: 163.2 kB / 1 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.261, allocations: 39.98 kB / 1 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.261, allocations: 4 kB / 1 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001465/0.2625, allocations: 0.5982 MB / 1.001 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2625, allocations: 4 kB / 1.001 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2625, allocations: 8 kB / 1.001 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.2633, allocations: 115.8 kB / 1.001 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.2634, allocations: 11.95 kB / 1.001 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.2647, allocations: 127.5 kB / 1.001 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/0.2648, allocations: 28 kB / 1.001 GB, free: 4.57 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.0005489/0.2654, allocations: 308.9 kB / 1.001 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.2656, allocations: 82.97 kB / 1.001 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.2658, allocations: 88.02 kB / 1.002 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2658, allocations: 4 kB / 1.002 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.2659, allocations: 3.953 kB / 1.002 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.2659, allocations: 4 kB / 1.002 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2669, allocations: 0.7629 MB / 1.002 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2669, allocations: 0 / 1.002 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.268, allocations: 119.9 kB / 1.002 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.2681, allocations: 7.984 kB / 1.002 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.2681, allocations: 12 kB / 1.002 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.2682, allocations: 4 kB / 1.002 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2682, allocations: 0 / 1.002 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.271, allocations: 0.9447 MB / 1.003 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.2713, allocations: 164 kB / 1.003 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.2715, allocations: 15.98 kB / 1.003 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/0.2721, allocations: 59.95 kB / 1.004 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.2722, allocations: 32.52 kB / 1.004 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.2723, allocations: 16 kB / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008135/0.2731, allocations: 0.4912 MB / 1.004 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2731, allocations: 3.938 kB / 1.004 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001173/0.2743, allocations: 310.7 kB / 1.004 GB, free: 1.059 MB / 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.003416/0.2777, allocations: 1.513 MB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003454/0.2812, allocations: 1.068 MB / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.2813, allocations: 0 / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.2824, allocations: 299.9 kB / 1.007 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.2839, allocations: 163.1 kB / 1.007 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.298, allocations: 4.915 MB / 1.012 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/0.2988, allocations: 0.9743 MB / 1.013 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000691/0.2995, allocations: 97.89 kB / 1.013 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008199/0.3004, allocations: 351.3 kB / 1.014 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.3004, allocations: 4 kB / 1.014 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05612/0.3565, allocations: 15.73 MB / 1.029 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.3568, allocations: 191.6 kB / 1.029 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.153/3.509, allocations: 4 kB / 1.029 GB, free: 7.676 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)