Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 192.5 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 73.59 kB / 0.9114 GB, free: 33.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3763, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.004885/0.3812, allocations: 3.318 MB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.3841, allocations: 1.668 MB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/0.3846, allocations: 23.94 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.385, allocations: 118.9 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.3854, allocations: 75.38 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.386, allocations: 311.8 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008839/0.3869, allocations: 0.9907 MB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000881/0.3878, allocations: 0.5998 MB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.3881, allocations: 338.2 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.3885, allocations: 417.6 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.3887, allocations: 60 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/0.3888, allocations: 60 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.3889, allocations: 199.1 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.3893, allocations: 425.3 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009573/0.3902, allocations: 1.199 MB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3902, allocations: 4 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3903, allocations: 4 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.3903, allocations: 0 / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002373/0.3927, allocations: 1.286 MB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3927, allocations: 8.031 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.3929, allocations: 119.5 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.3936, allocations: 0.5481 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.3937, allocations: 70.38 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.3938, allocations: 92.38 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3953, allocations: 0.8827 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3953, allocations: 4.188 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.3954, allocations: 39.94 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.3954, allocations: 20 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3967, allocations: 0.6207 MB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.4013, allocations: 2.825 MB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.403, allocations: 1.3 MB / 1.085 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/0.4036, allocations: 403.9 kB / 1.085 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.4037, allocations: 12.66 kB / 1.085 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007391/0.4044, allocations: 356.3 kB / 1.085 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.585e-06/0.4044, allocations: 0 / 1.085 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001745/0.4062, allocations: 0.8171 MB / 1.086 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.4063, allocations: 162.9 kB / 1.086 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007962/0.4071, allocations: 0.5654 MB / 1.087 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/0.4072, allocations: 45.69 kB / 1.087 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.4076, allocations: 396.2 kB / 1.087 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.4078, allocations: 256.2 kB / 1.088 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.408, allocations: 122.7 kB / 1.088 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4081, allocations: 382.8 kB / 1.088 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.4087, allocations: 248.7 kB / 1.088 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.4093, allocations: 357.1 kB / 1.089 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009688/0.4103, allocations: 0.5331 MB / 1.089 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4103, allocations: 8 kB / 1.089 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001317/0.4116, allocations: 0.7035 MB / 1.09 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4117, allocations: 8 kB / 1.09 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4117, allocations: 4.094 kB / 1.09 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4117, allocations: 4 kB / 1.09 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.4123, allocations: 155.8 kB / 1.09 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.4123, allocations: 7.938 kB / 1.09 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.4127, allocations: 87.33 kB / 1.09 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.4127, allocations: 27.98 kB / 1.09 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005677/0.4133, allocations: 354.2 kB / 1.091 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000427/0.4138, allocations: 317.1 kB / 1.091 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006814/0.4145, allocations: 466 kB / 1.091 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.4145, allocations: 0 / 1.091 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001054/0.4155, allocations: 0.6099 MB / 1.092 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4156, allocations: 8 kB / 1.092 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4156, allocations: 0 / 1.092 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.4156, allocations: 4.094 kB / 1.092 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.4161, allocations: 135.8 kB / 1.092 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4161, allocations: 4 kB / 1.092 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.4164, allocations: 83.42 kB / 1.092 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.4165, allocations: 24 kB / 1.092 GB, free: 1.156 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002503/0.4167, allocations: 212.1 kB / 1.092 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4169, allocations: 75.06 kB / 1.092 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.4181, allocations: 0.6495 MB / 1.093 GB, free: 216 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4182, allocations: 8 kB / 1.093 GB, free: 208 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4182, allocations: 3.938 kB / 1.093 GB, free: 204 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4182, allocations: 3.984 kB / 1.093 GB, free: 200 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.4208, allocations: 1.7 MB / 1.095 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4208, allocations: 4 kB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.4214, allocations: 136 kB / 1.095 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.4214, allocations: 4 kB / 1.095 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.4215, allocations: 20 kB / 1.095 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.4215, allocations: 4 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4215, allocations: 7.938 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4233, allocations: 1.069 MB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.4234, allocations: 160.1 kB / 1.096 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/0.4235, allocations: 12 kB / 1.096 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.4238, allocations: 47.95 kB / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.4239, allocations: 44.44 kB / 1.096 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.424, allocations: 28.08 kB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005037/0.4245, allocations: 398.8 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4245, allocations: 0 / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007548/0.4253, allocations: 310.5 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.000242/0.4255, allocations: 132.6 kB / 1.097 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.4273, allocations: 0.8793 MB / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4273, allocations: 0 / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.4278, allocations: 315.7 kB / 1.098 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/0.4287, allocations: 146.3 kB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.4314, allocations: 1.893 MB / 1.1 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.432, allocations: 0.9781 MB / 1.101 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003669/0.4324, allocations: 93.31 kB / 1.101 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.4325, allocations: 59.42 kB / 1.101 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of SimCode: time 6.31e-07/0.4326, allocations: 0 / 1.101 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of Templates: time 0.01521/0.4478, allocations: 7.111 MB / 1.108 GB, free: 0.5117 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1)