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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 288.3 MB / 303.2 MB, free: 8.211 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.001082/0.001082, allocations: 177 kB / 371.8 MB, free: 10.26 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.837/1.837, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0008634/0.0008633, allocations: 99.55 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004384, allocations: 13.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2244, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.002482/0.2269, allocations: 2.886 MB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.2293, allocations: 2.003 MB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.2297, allocations: 19.94 kB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.2298, allocations: 75.09 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.2304, allocations: 187.3 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.231, allocations: 370.9 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.2317, allocations: 0.691 MB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004263/0.2321, allocations: 395.9 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.2323, allocations: 286.5 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.2325, allocations: 326 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.2326, allocations: 28 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.2327, allocations: 51.97 kB / 0.9865 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.2328, allocations: 131.3 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2329, allocations: 173.1 kB / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.2335, allocations: 1.068 MB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.2335, allocations: 0 / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2335, allocations: 0 / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.2335, allocations: 0 / 0.9879 GB, free: 18.96 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.001871/0.2354, allocations: 1.27 MB / 0.9891 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2354, allocations: 12.02 kB / 0.9891 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2356, allocations: 122.6 kB / 0.9892 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/0.2363, allocations: 0.6142 MB / 0.9898 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.2364, allocations: 66 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.543e-05/0.2365, allocations: 95.89 kB / 0.99 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2376, allocations: 0.8167 MB / 0.9908 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2376, allocations: 7.922 kB / 0.9908 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.2377, allocations: 32 kB / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.2377, allocations: 20 kB / 0.9909 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2388, allocations: 0.6441 MB / 0.9915 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.2419, allocations: 2.855 MB / 0.9943 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.2433, allocations: 0.7473 MB / 0.995 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.2434, allocations: 8.562 kB / 0.995 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005929/0.244, allocations: 335.1 kB / 0.9953 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.555e-06/0.244, allocations: 3.938 kB / 0.9953 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.001456/0.2454, allocations: 0.8219 MB / 0.9961 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.2455, allocations: 192.5 kB / 0.9963 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.2462, allocations: 0.7077 MB / 0.997 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.2462, allocations: 37.7 kB / 0.997 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.2465, allocations: 459.7 kB / 0.9975 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.2466, allocations: 201.1 kB / 0.9977 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.2466, allocations: 12 kB / 0.9977 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.2467, allocations: 334 kB / 0.998 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.2472, allocations: 273.5 kB / 0.9983 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.2477, allocations: 456.7 kB / 0.9987 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.2483, allocations: 340.7 kB / 0.999 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2483, allocations: 0 / 0.999 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001272/0.2496, allocations: 0.8412 MB / 0.9999 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.2498, allocations: 1.169 MB / 1.001 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.2498, allocations: 8 kB / 1.001 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2498, allocations: 4 kB / 1.001 GB, free: 5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.2504, allocations: 155.8 kB / 1.001 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2504, allocations: 11.88 kB / 1.001 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.251, allocations: 171.1 kB / 1.001 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.251, allocations: 27.98 kB / 1.001 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.2511, allocations: 4 kB / 1.001 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007195/0.2518, allocations: 0.5983 MB / 1.002 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2518, allocations: 0 / 1.002 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-06/0.2518, allocations: 8 kB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.2522, allocations: 123.8 kB / 1.002 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.2522, allocations: 11.97 kB / 1.002 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.2527, allocations: 135.4 kB / 1.002 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.2528, allocations: 24 kB / 1.002 GB, free: 3.738 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.0003103/0.2531, allocations: 301 kB / 1.003 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.2532, allocations: 86.97 kB / 1.003 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.2533, allocations: 80.03 kB / 1.003 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2533, allocations: 8 kB / 1.003 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.2533, allocations: 3.938 kB / 1.003 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2533, allocations: 7.938 kB / 1.003 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.254, allocations: 0.7629 MB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.254, allocations: 0 / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.2545, allocations: 127.9 kB / 1.004 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2545, allocations: 0 / 1.004 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.2545, allocations: 15.98 kB / 1.004 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2545, allocations: 4 kB / 1.004 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2545, allocations: 96 / 1.004 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.256, allocations: 0.9446 MB / 1.005 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.2561, allocations: 164.1 kB / 1.005 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/0.2562, allocations: 16 kB / 1.005 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.2565, allocations: 59.95 kB / 1.005 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.2566, allocations: 32.52 kB / 1.005 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.2566, allocations: 19.98 kB / 1.005 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004681/0.2571, allocations: 0.4912 MB / 1.005 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2571, allocations: 0 / 1.005 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006761/0.2578, allocations: 314.7 kB / 1.006 GB, free: 228 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.0001997/0.258, allocations: 123.1 kB / 1.006 GB, free: 96 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.2598, allocations: 1.077 MB / 1.007 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2598, allocations: 8 kB / 1.007 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.2604, allocations: 287.1 kB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.2611, allocations: 167.1 kB / 1.007 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.2636, allocations: 1.714 MB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/0.2642, allocations: 1.002 MB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004058/0.2646, allocations: 89.92 kB / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.2648, allocations: 63.42 kB / 1.01 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/0.2648, allocations: 0 / 1.01 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.01659/0.2814, allocations: 8.406 MB / 1.018 GB, free: 3.301 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)