Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.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.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.01085/0.01085, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.519/1.519, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.053/3.053, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003959, allocations: 12.33 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3816, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.003393/0.385, allocations: 2.369 MB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003941/0.389, allocations: 2.133 MB / 1.079 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005315/0.3896, allocations: 15.94 kB / 1.079 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.3899, allocations: 91.09 kB / 1.079 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.3902, allocations: 83.3 kB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.392, allocations: 0.7023 MB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.3931, allocations: 1.118 MB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007582/0.3939, allocations: 471.7 kB / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.3943, allocations: 342.5 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.3947, allocations: 342 kB / 1.082 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.19e-05/0.3948, allocations: 40 kB / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.395, allocations: 51.98 kB / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3951, allocations: 123.3 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.3955, allocations: 407.3 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.3966, allocations: 1.261 MB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3966, allocations: 0 / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3966, allocations: 4 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.3966, allocations: 0 / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002074/0.3987, allocations: 1.157 MB / 1.085 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3988, allocations: 8.031 kB / 1.085 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.399, allocations: 107.8 kB / 1.085 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000789/0.3998, allocations: 0.5561 MB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.3999, allocations: 66.38 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.4, allocations: 92.36 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.4012, allocations: 0.6845 MB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.4012, allocations: 192 / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.4013, allocations: 31.94 kB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.4013, allocations: 16 kB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009334/0.4023, allocations: 493 kB / 1.087 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.4059, allocations: 2.25 MB / 1.089 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.4071, allocations: 0.5606 MB / 1.089 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.4076, allocations: 282.4 kB / 1.09 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.4076, allocations: 4.562 kB / 1.09 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007157/0.4084, allocations: 386.9 kB / 1.09 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.394e-06/0.4084, allocations: 0 / 1.09 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001529/0.4099, allocations: 0.7793 MB / 1.091 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.41, allocations: 111.4 kB / 1.091 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/0.4107, allocations: 0.534 MB / 1.091 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/0.4108, allocations: 49.7 kB / 1.091 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.4111, allocations: 348.4 kB / 1.092 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.4113, allocations: 201.1 kB / 1.092 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.4114, allocations: 89.66 kB / 1.092 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4116, allocations: 378.8 kB / 1.092 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007381/0.4124, allocations: 341.5 kB / 1.093 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008106/0.4132, allocations: 486.7 kB / 1.093 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.4144, allocations: 0.7652 MB / 1.094 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4144, allocations: 0 / 1.094 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002013/0.4164, allocations: 1.11 MB / 1.095 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002493/0.4167, allocations: 333.3 kB / 1.095 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4167, allocations: 3.938 kB / 1.095 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4167, allocations: 12 kB / 1.095 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.4172, allocations: 115.8 kB / 1.095 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.4172, allocations: 7.984 kB / 1.095 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.4185, allocations: 280.6 kB / 1.096 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.4186, allocations: 43.97 kB / 1.096 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.4186, allocations: 4 kB / 1.096 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/0.4203, allocations: 1.034 MB / 1.097 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4203, allocations: 112 / 1.097 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.4203, allocations: 11.94 kB / 1.097 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.4207, allocations: 95.83 kB / 1.097 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.4207, allocations: 8 kB / 1.097 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.4219, allocations: 255 kB / 1.097 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/0.422, allocations: 47.97 kB / 1.097 GB, free: 15.38 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (resSig.y,$PRE.resSig.y,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or2.y,greThr.y,lesThr.lesHys.y,$PRE.lesThr.lesHys.y,Td.booPul.y,$PRE.Td.booPul.y,Ti.booPul.y,$PRE.Ti.booPul.y,k.booPul.y,$PRE.k.booPul.y,PIDWitInpGai.greThrkTd.greHys.y,$PRE.PIDWitInpGai.greThrkTd.greHys.y,pulse.booPul.y,$PRE.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): 76 * Array equations: 0 * Algorithm blocks: 5 * 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.0005668/0.4225, allocations: 303.2 kB / 1.097 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4226, allocations: 67.14 kB / 1.097 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.4238, allocations: 0.6187 MB / 1.098 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4238, allocations: 7.938 kB / 1.098 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4238, allocations: 0 / 1.098 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.4239, allocations: 7.984 kB / 1.098 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.4259, allocations: 1.444 MB / 1.1 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.426, allocations: 4 kB / 1.1 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.4263, allocations: 95.98 kB / 1.1 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.4264, allocations: 4 kB / 1.1 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.4264, allocations: 19.92 kB / 1.1 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.4264, allocations: 7.938 kB / 1.1 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4264, allocations: 0 / 1.1 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.4279, allocations: 0.9753 MB / 1.101 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.4281, allocations: 152.2 kB / 1.101 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.4282, allocations: 23.92 kB / 1.101 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.4285, allocations: 51.97 kB / 1.101 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4287, allocations: 60.64 kB / 1.101 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.4287, allocations: 23.98 kB / 1.101 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004418/0.4291, allocations: 366.9 kB / 1.101 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4292, allocations: 4 kB / 1.101 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001027/0.4302, allocations: 347 kB / 1.102 GB, free: 10.7 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (PIDWitInpGai.I.y,PIDWitInpGai.D.x,PID.I.y,PID.D.x) * Number of discrete variables: 20 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,PIDWitInpGai.greThrkTd.greHys.y,resSig.y,k.booPul.y,Ti.booPul.y,Td.booPul.y,lesThr.lesHys.y,greThr.y,or2.y) * Number of discrete states: 2 (PIDWitInpGai.greThrkTd.greHys.y,lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002197/0.4304, allocations: 133 kB / 1.102 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00275/0.4332, allocations: 1.844 MB / 1.103 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4332, allocations: 0 / 1.103 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.4338, allocations: 308.5 kB / 1.104 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4348, allocations: 154 kB / 1.104 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.437, allocations: 1.547 MB / 1.105 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.4375, allocations: 0.9348 MB / 1.106 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003318/0.4379, allocations: 77.03 kB / 1.106 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.438, allocations: 59.42 kB / 1.106 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of SimCode: time 1.153e-06/0.438, allocations: 0 / 1.106 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of Templates: time 0.02135/0.4594, allocations: 12.68 MB / 1.119 GB, free: 8.922 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1)