Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009732/0.0009732, allocations: 175 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 0.5786 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008097/0.0008096, allocations: 90.31 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 11.06 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2317, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004884/0.2367, allocations: 4.996 MB / 0.9064 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003801/0.2405, allocations: 1.744 MB / 0.9081 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.2414, allocations: 31.88 kB / 0.9081 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.2418, allocations: 198.2 kB / 0.9083 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005495/0.2424, allocations: 132.8 kB / 0.9084 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.2432, allocations: 463.4 kB / 0.9088 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009498/0.2441, allocations: 1.409 MB / 0.9102 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.2449, allocations: 0.6833 MB / 0.9109 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.2452, allocations: 349.6 kB / 0.9112 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.2456, allocations: 425 kB / 0.9116 GB, free: 53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.2456, allocations: 32 kB / 0.9117 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.2457, allocations: 40 kB / 0.9117 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.2459, allocations: 178.9 kB / 0.9119 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.2461, allocations: 0.4941 MB / 0.9124 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007288/0.2469, allocations: 1.286 MB / 0.9136 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.2469, allocations: 0 / 0.9136 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2469, allocations: 3.938 kB / 0.9136 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.2469, allocations: 0 / 0.9136 GB, free: 50.96 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002434/0.2494, allocations: 1.521 MB / 0.9151 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2494, allocations: 8.031 kB / 0.9151 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.2496, allocations: 155.1 kB / 0.9153 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.2505, allocations: 0.7702 MB / 0.916 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.2506, allocations: 82.45 kB / 0.9161 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2507, allocations: 104.4 kB / 0.9162 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.2523, allocations: 1.122 MB / 0.9173 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2524, allocations: 4 kB / 0.9173 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.2524, allocations: 40 kB / 0.9173 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2525, allocations: 28 kB / 0.9173 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.254, allocations: 0.8899 MB / 0.9182 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004579/0.2586, allocations: 4.148 MB / 0.9223 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.2608, allocations: 1.085 MB / 0.9233 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.2615, allocations: 0.4918 MB / 0.9238 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.2616, allocations: 16.97 kB / 0.9238 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008407/0.2625, allocations: 469 kB / 0.9243 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 4.479e-06/0.2625, allocations: 0 / 0.9243 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.002144/0.2646, allocations: 1.155 MB / 0.9254 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.2647, allocations: 222.6 kB / 0.9256 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/0.2656, allocations: 0.8859 MB / 0.9265 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.2656, allocations: 45.7 kB / 0.9265 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.266, allocations: 0.5392 MB / 0.927 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.2661, allocations: 287.8 kB / 0.9273 GB, free: 36.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.2662, allocations: 20 kB / 0.9273 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.2663, allocations: 341.9 kB / 0.9277 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.2669, allocations: 353.8 kB / 0.928 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/0.2677, allocations: 0.5358 MB / 0.9285 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.2691, allocations: 0.7963 MB / 0.9293 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2691, allocations: 0 / 0.9293 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00167/0.2708, allocations: 1.016 MB / 0.9303 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.2708, allocations: 148.2 kB / 0.9304 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.2709, allocations: 4 kB / 0.9304 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.2709, allocations: 4 kB / 0.9304 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.2716, allocations: 219.7 kB / 0.9307 GB, free: 32.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.2717, allocations: 4 kB / 0.9307 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.2723, allocations: 178.8 kB / 0.9308 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.2724, allocations: 28 kB / 0.9309 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-06/0.2724, allocations: 4 kB / 0.9309 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009933/0.2734, allocations: 0.6949 MB / 0.9315 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2734, allocations: 7.938 kB / 0.9315 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.2734, allocations: 7.938 kB / 0.9316 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.274, allocations: 176 kB / 0.9317 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.274, allocations: 7.938 kB / 0.9317 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.2745, allocations: 123.2 kB / 0.9318 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.2745, allocations: 32 kB / 0.9319 GB, free: 31.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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 0.0004394/0.275, allocations: 335.8 kB / 0.9322 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2751, allocations: 110.6 kB / 0.9323 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.2752, allocations: 115.2 kB / 0.9324 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2753, allocations: 12 kB / 0.9324 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2753, allocations: 0 / 0.9324 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.2753, allocations: 3.984 kB / 0.9324 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/0.2763, allocations: 0.9753 MB / 0.9334 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2763, allocations: 0 / 0.9334 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.277, allocations: 183.8 kB / 0.9336 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.277, allocations: 4 kB / 0.9336 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.2771, allocations: 12 kB / 0.9336 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2771, allocations: 8 kB / 0.9336 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2771, allocations: 0 / 0.9336 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.2793, allocations: 1.323 MB / 0.9349 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.2794, allocations: 199.5 kB / 0.9351 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.296e-05/0.2795, allocations: 16 kB / 0.9351 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.28, allocations: 91.86 kB / 0.9352 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.2802, allocations: 48.92 kB / 0.9352 GB, free: 28.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.2802, allocations: 32 kB / 0.9352 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006752/0.2809, allocations: 0.6035 MB / 0.9358 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2809, allocations: 0 / 0.9358 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007474/0.2817, allocations: 374.5 kB / 0.9362 GB, free: 27.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002128/0.2819, allocations: 127.1 kB / 0.9363 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.284, allocations: 1.225 MB / 0.9375 GB, free: 25.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.284, allocations: 4 kB / 0.9375 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/0.2847, allocations: 417.8 kB / 0.9379 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.2857, allocations: 258.4 kB / 0.9382 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.2887, allocations: 2.448 MB / 0.9405 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.2892, allocations: 1.074 MB / 0.9416 GB, free: 21.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.2895, allocations: 79.42 kB / 0.9417 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/0.2895, allocations: 4 kB / 0.9417 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.01686/0.3064, allocations: 13.06 MB / 0.9544 GB, free: 8.445 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)