Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.049/2.049, allocations: 391.2 MB / 407 MB, free: 10.88 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.001058/0.001058, allocations: 196.2 kB / 499.1 MB, free: 4.691 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.347/1.347, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.0009305/0.0009304, allocations: 103.5 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 53.52 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2157, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004359/0.2201, allocations: 4.346 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.2219, allocations: 1.029 MB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006532/0.2226, allocations: 23.88 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.223, allocations: 146.7 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.2234, allocations: 83.31 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.2239, allocations: 323.7 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005946/0.2245, allocations: 1.046 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005994/0.2251, allocations: 0.6432 MB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.2253, allocations: 346.2 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.2255, allocations: 417.5 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.169e-05/0.2256, allocations: 64 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.241e-05/0.2257, allocations: 60 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.2258, allocations: 207 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.226, allocations: 449.1 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.2266, allocations: 1.318 MB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2266, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2266, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2266, allocations: 0 / 1.228 GB, free: 106.7 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001628/0.2282, allocations: 1.344 MB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2283, allocations: 15.98 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.2284, allocations: 123.5 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.2289, allocations: 0.5751 MB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.2289, allocations: 74.38 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/0.229, allocations: 96.38 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2301, allocations: 0.9139 MB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2301, allocations: 192 / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-05/0.2302, allocations: 43.92 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2302, allocations: 24 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.2312, allocations: 0.6519 MB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.2342, allocations: 2.841 MB / 1.235 GB, free: 99.77 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.2352, allocations: 0.6916 MB / 1.236 GB, free: 99.07 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/0.2357, allocations: 398.9 kB / 1.236 GB, free: 98.67 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.2357, allocations: 8.656 kB / 1.236 GB, free: 98.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005776/0.2363, allocations: 372.2 kB / 1.236 GB, free: 98.29 MB / 0.823 GB Notification: Performance of pre-optimization done (n=74): time 2.905e-06/0.2363, allocations: 0 / 1.236 GB, free: 98.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=74): time 0.001295/0.2376, allocations: 0.8292 MB / 1.237 GB, free: 97.45 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.2376, allocations: 166.9 kB / 1.237 GB, free: 97.25 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.2381, allocations: 0.59 MB / 1.238 GB, free: 96.65 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.2382, allocations: 49.69 kB / 1.238 GB, free: 96.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.2384, allocations: 435.9 kB / 1.238 GB, free: 96.16 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.2385, allocations: 248.4 kB / 1.239 GB, free: 95.92 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.2386, allocations: 130.6 kB / 1.239 GB, free: 95.79 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.2387, allocations: 390.7 kB / 1.239 GB, free: 95.39 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.2391, allocations: 256.7 kB / 1.239 GB, free: 95.14 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.2395, allocations: 382 kB / 1.24 GB, free: 94.73 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000779/0.2403, allocations: 0.569 MB / 1.24 GB, free: 94.14 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2403, allocations: 0 / 1.24 GB, free: 94.14 MB / 0.823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009936/0.2413, allocations: 0.7348 MB / 1.241 GB, free: 93.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2413, allocations: 4 kB / 1.241 GB, free: 93.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2414, allocations: 0 / 1.241 GB, free: 93.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2414, allocations: 4 kB / 1.241 GB, free: 93.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.2419, allocations: 159.8 kB / 1.241 GB, free: 93.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.2419, allocations: 4 kB / 1.241 GB, free: 93.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.2423, allocations: 107.2 kB / 1.241 GB, free: 93.13 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.2423, allocations: 24 kB / 1.241 GB, free: 93.11 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004/0.2427, allocations: 362.1 kB / 1.242 GB, free: 92.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002811/0.243, allocations: 326 kB / 1.242 GB, free: 92.39 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004842/0.2435, allocations: 486.8 kB / 1.242 GB, free: 91.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.2435, allocations: 4 kB / 1.242 GB, free: 91.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.0006463/0.2442, allocations: 0.6373 MB / 1.243 GB, free: 91.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.2442, allocations: 11.94 kB / 1.243 GB, free: 91.24 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.2442, allocations: 0 / 1.243 GB, free: 91.24 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.2442, allocations: 4 kB / 1.243 GB, free: 91.24 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.2446, allocations: 139.8 kB / 1.243 GB, free: 91.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2446, allocations: 4 kB / 1.243 GB, free: 91.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.2449, allocations: 79.39 kB / 1.243 GB, free: 91.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.245, allocations: 24.12 kB / 1.243 GB, free: 91 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0001214/0.2451, allocations: 224.8 kB / 1.243 GB, free: 90.77 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.2452, allocations: 83 kB / 1.243 GB, free: 90.69 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.2453, allocations: 87.72 kB / 1.244 GB, free: 90.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2453, allocations: 8 kB / 1.244 GB, free: 90.59 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2453, allocations: 0 / 1.244 GB, free: 90.59 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2454, allocations: 3.984 kB / 1.244 GB, free: 90.59 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.2471, allocations: 1.613 MB / 1.245 GB, free: 88.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2471, allocations: 0 / 1.245 GB, free: 88.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.2476, allocations: 135.7 kB / 1.245 GB, free: 88.78 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2476, allocations: 4 kB / 1.245 GB, free: 88.78 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.2476, allocations: 19.98 kB / 1.245 GB, free: 88.76 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2477, allocations: 8 kB / 1.245 GB, free: 88.75 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2477, allocations: 3.938 kB / 1.245 GB, free: 88.75 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007349/0.255, allocations: 5.862 MB / 1.251 GB, free: 82.74 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.2551, allocations: 160 kB / 1.251 GB, free: 82.57 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.2552, allocations: 20 kB / 1.251 GB, free: 82.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.2555, allocations: 43.95 kB / 1.251 GB, free: 82.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.2556, allocations: 44.59 kB / 1.251 GB, free: 82.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.2556, allocations: 23.98 kB / 1.251 GB, free: 82.44 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003271/0.2559, allocations: 415.1 kB / 1.252 GB, free: 82.04 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2559, allocations: 0 / 1.252 GB, free: 82.04 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008342/0.2568, allocations: 422.3 kB / 1.252 GB, free: 81.62 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001212/0.2569, allocations: 135.1 kB / 1.252 GB, free: 81.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.2582, allocations: 0.9076 MB / 1.253 GB, free: 80.57 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2582, allocations: 4 kB / 1.253 GB, free: 80.57 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.2586, allocations: 311.6 kB / 1.253 GB, free: 80.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.2593, allocations: 170.3 kB / 1.254 GB, free: 80.11 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.2614, allocations: 2.415 MB / 1.256 GB, free: 77.65 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.2617, allocations: 1.01 MB / 1.257 GB, free: 76.61 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003469/0.2621, allocations: 97.53 kB / 1.257 GB, free: 76.51 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.2623, allocations: 67.42 kB / 1.257 GB, free: 76.45 MB / 0.823 GB Notification: Performance of SimCode: time 5.71e-07/0.2623, allocations: 4 kB / 1.257 GB, free: 76.44 MB / 0.823 GB Notification: Performance of Templates: time 0.0133/0.2756, allocations: 9.099 MB / 1.266 GB, free: 67.42 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)