Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00105/0.00105, allocations: 97.56 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.006408/0.006408, allocations: 171.1 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005802/0.0005803, allocations: 12.72 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4041, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.003244/0.4074, allocations: 2.373 MB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003241/0.4107, allocations: 2.133 MB / 1.079 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.4111, allocations: 15.94 kB / 1.079 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.4114, allocations: 91.11 kB / 1.079 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.4117, allocations: 95.27 kB / 1.079 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.4133, allocations: 0.7033 MB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.4146, allocations: 1.121 MB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008362/0.4154, allocations: 475.7 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004659/0.4159, allocations: 338.4 kB / 1.081 GB, free: 228 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004063/0.4163, allocations: 342 kB / 1.082 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.65e-05/0.4164, allocations: 40 kB / 1.082 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.4166, allocations: 47.98 kB / 1.082 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.4167, allocations: 131.2 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.4171, allocations: 407.4 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.4183, allocations: 1.25 MB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4183, allocations: 8 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.526e-06/0.4183, allocations: 0 / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.4183, allocations: 0 / 1.083 GB, free: 14 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.002135/0.4205, allocations: 1.153 MB / 1.085 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4205, allocations: 8.031 kB / 1.085 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.4207, allocations: 115.8 kB / 1.085 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007832/0.4215, allocations: 0.5483 MB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/0.4216, allocations: 74.3 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.4218, allocations: 88.38 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.4229, allocations: 0.6729 MB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.4229, allocations: 192 / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.423, allocations: 35.92 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.423, allocations: 16 kB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009508/0.424, allocations: 0.4892 MB / 1.087 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003436/0.4274, allocations: 2.238 MB / 1.089 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.4286, allocations: 0.5645 MB / 1.089 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/0.429, allocations: 290.4 kB / 1.09 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.4291, allocations: 4.562 kB / 1.09 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006667/0.4298, allocations: 378.8 kB / 1.09 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.063e-06/0.4298, allocations: 0 / 1.09 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001429/0.4312, allocations: 0.7715 MB / 1.091 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.4313, allocations: 119.4 kB / 1.091 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.4319, allocations: 0.534 MB / 1.091 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.529e-05/0.432, allocations: 49.7 kB / 1.091 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.4323, allocations: 352.4 kB / 1.092 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.4325, allocations: 201.1 kB / 1.092 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.4326, allocations: 85.67 kB / 1.092 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4328, allocations: 378.8 kB / 1.092 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/0.4335, allocations: 353.4 kB / 1.093 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.4343, allocations: 482.7 kB / 1.093 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.4355, allocations: 0.7574 MB / 1.094 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.4355, allocations: 0 / 1.094 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002056/0.4376, allocations: 1.121 MB / 1.095 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.4379, allocations: 329.3 kB / 1.095 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4379, allocations: 7.938 kB / 1.095 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.4379, allocations: 4 kB / 1.095 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.4384, allocations: 111.8 kB / 1.095 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.4384, allocations: 8 kB / 1.095 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.4396, allocations: 279.1 kB / 1.096 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.4398, allocations: 47.97 kB / 1.096 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.4398, allocations: 5.25 kB / 1.096 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001726/0.4415, allocations: 1.031 MB / 1.097 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4415, allocations: 8.109 kB / 1.097 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.4415, allocations: 7.938 kB / 1.097 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4419, allocations: 91.84 kB / 1.097 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4419, allocations: 11.98 kB / 1.097 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.4431, allocations: 255.3 kB / 1.097 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/0.4432, allocations: 43.97 kB / 1.097 GB, free: 15.41 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.0004573/0.4436, allocations: 303.2 kB / 1.097 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4437, allocations: 67.16 kB / 1.097 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.4449, allocations: 0.6148 MB / 1.098 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.4449, allocations: 4 kB / 1.098 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4449, allocations: 8 kB / 1.098 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.445, allocations: 3.984 kB / 1.098 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.447, allocations: 1.444 MB / 1.1 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4471, allocations: 4 kB / 1.1 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.4474, allocations: 91.89 kB / 1.1 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.4475, allocations: 4 kB / 1.1 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.4475, allocations: 27.95 kB / 1.1 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.4475, allocations: 4 kB / 1.1 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4475, allocations: 0 / 1.1 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.449, allocations: 0.9792 MB / 1.101 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.4492, allocations: 152.2 kB / 1.101 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.4493, allocations: 19.94 kB / 1.101 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.4496, allocations: 51.95 kB / 1.101 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.4497, allocations: 56.42 kB / 1.101 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.4498, allocations: 31.98 kB / 1.101 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004273/0.4502, allocations: 370.8 kB / 1.101 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4502, allocations: 0 / 1.101 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009122/0.4511, allocations: 347 kB / 1.102 GB, free: 10.73 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.0002284/0.4514, allocations: 136.9 kB / 1.102 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.4539, allocations: 1.841 MB / 1.103 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.454, allocations: 0 / 1.103 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.4544, allocations: 303.1 kB / 1.104 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.4554, allocations: 161.8 kB / 1.104 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.4574, allocations: 1.545 MB / 1.105 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.4579, allocations: 0.9309 MB / 1.106 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002994/0.4582, allocations: 77.05 kB / 1.106 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4584, allocations: 59.41 kB / 1.106 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of SimCode: time 7.02e-07/0.4584, allocations: 4 kB / 1.106 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of Templates: time 0.0219/0.4803, allocations: 12.67 MB / 1.119 GB, free: 8.973 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1)