Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.288/2.288, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 190.7 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.713/1.713, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 102.9 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009917/0.0009918, allocations: 52.86 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2485, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.002525/0.2511, allocations: 1.876 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2523, allocations: 1.232 MB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.2525, allocations: 11.94 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.2527, allocations: 47.52 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.2528, allocations: 43.7 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.2531, allocations: 151.8 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.2534, allocations: 457 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.2537, allocations: 242.3 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2538, allocations: 143.3 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.254, allocations: 179 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.254, allocations: 27.94 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.323e-05/0.2541, allocations: 24 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.2541, allocations: 79.62 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.2542, allocations: 178.9 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.2545, allocations: 0.5159 MB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2545, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2545, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2546, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009672/0.2555, allocations: 0.7189 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2556, allocations: 15.98 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.23e-05/0.2557, allocations: 48.38 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.256, allocations: 336.3 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.256, allocations: 29.38 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.2561, allocations: 36.38 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.2566, allocations: 399.5 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2566, allocations: 192 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.2567, allocations: 19.94 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2567, allocations: 8 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.2571, allocations: 275.8 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.2587, allocations: 1.366 MB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.2594, allocations: 254.8 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2596, allocations: 112.8 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.2596, allocations: 4 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2597, allocations: 38.56 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.2597, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=21): time 0.0005796/0.2603, allocations: 311.2 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.2603, allocations: 106.8 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.2606, allocations: 397.6 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2607, allocations: 33.7 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2608, allocations: 243.8 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.2608, allocations: 78.94 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.2609, allocations: 61.61 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.261, allocations: 346.8 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.2612, allocations: 120.8 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.2615, allocations: 208.8 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.2619, allocations: 258.9 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2619, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006083/0.2625, allocations: 369.8 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2626, allocations: 13.03 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2626, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2626, allocations: 7.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.2629, allocations: 75.89 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2629, allocations: 160 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.2631, allocations: 51.67 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.2632, allocations: 19.92 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002229/0.2634, allocations: 200.1 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001781/0.2636, allocations: 173.4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002527/0.2639, allocations: 227.1 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.2639, allocations: 4 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0004259/0.2643, allocations: 317 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.2643, allocations: 4 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2643, allocations: 11.92 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-06/0.2643, allocations: 4 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.2645, allocations: 59.92 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2646, allocations: 7.938 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.2648, allocations: 55.75 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.2648, allocations: 8 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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 8.573e-05/0.2649, allocations: 192.9 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.2649, allocations: 35.56 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.2654, allocations: 249 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2654, allocations: 4 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2654, allocations: 0 / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2654, allocations: 0 / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.2665, allocations: 0.8481 MB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2665, allocations: 4 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.2667, allocations: 43.91 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2667, allocations: 4 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2667, allocations: 12.25 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2667, allocations: 7.984 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2668, allocations: 4 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.2693, allocations: 2.254 MB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.2693, allocations: 128.5 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.2694, allocations: 8 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2696, allocations: 23.97 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.2696, allocations: 15.98 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2696, allocations: 12 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000211/0.2698, allocations: 287.2 kB / 1.234 GB, free: 99.81 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2698, allocations: 3.938 kB / 1.234 GB, free: 99.81 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006086/0.2705, allocations: 163.5 kB / 1.235 GB, free: 99.65 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000148/0.2706, allocations: 115.2 kB / 1.235 GB, free: 99.53 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006826/0.2713, allocations: 397 kB / 1.235 GB, free: 99.14 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2713, allocations: 0.625 kB / 1.235 GB, free: 99.14 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.2715, allocations: 104 kB / 1.235 GB, free: 99.04 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.2721, allocations: 73.39 kB / 1.235 GB, free: 98.96 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2732, allocations: 1.006 MB / 1.236 GB, free: 97.89 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.2734, allocations: 0.796 MB / 1.237 GB, free: 97.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.2736, allocations: 46.94 kB / 1.237 GB, free: 97.02 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.2737, allocations: 27.44 kB / 1.237 GB, free: 96.99 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.2737, allocations: 0 / 1.237 GB, free: 96.99 MB / 0.823 GB Notification: Performance of Templates: time 0.006141/0.2798, allocations: 3.837 MB / 1.241 GB, free: 93.19 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)