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.Gain.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01072/0.01072, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002238/0.002237, allocations: 191.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 72.38 kB / 0.7258 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7661, allocations: 104.7 MB / 0.8281 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.003017/0.7691, allocations: 1.368 MB / 0.8294 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0003018/0.7695, allocations: 104.5 kB / 0.8295 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.7695, allocations: 4 kB / 0.8295 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.7696, allocations: 3.938 kB / 0.8295 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.7696, allocations: 3.938 kB / 0.8296 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 5.944e-05/0.7697, allocations: 7.984 kB / 0.8296 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.7698, allocations: 19.98 kB / 0.8296 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.7699, allocations: 11.98 kB / 0.8296 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.77, allocations: 15.88 kB / 0.8296 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.77, allocations: 15.92 kB / 0.8296 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.77, allocations: 0 / 0.8296 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.7701, allocations: 7.938 kB / 0.8296 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.7701, allocations: 4 kB / 0.8296 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.7701, allocations: 11.92 kB / 0.8296 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 8.923e-05/0.7702, allocations: 27.91 kB / 0.8297 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7702, allocations: 0 / 0.8297 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7702, allocations: 0 / 0.8297 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.7702, allocations: 0 / 0.8297 GB, free: 0.9258 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005066/0.7707, allocations: 339.1 kB / 0.83 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.7708, allocations: 8.031 kB / 0.83 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.7709, allocations: 4.844 kB / 0.83 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.771, allocations: 168.4 kB / 0.8302 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.771, allocations: 384 / 0.8302 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.7711, allocations: 4.359 kB / 0.8302 GB, free: 336 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.7713, allocations: 46.25 kB / 0.8302 GB, free: 284 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7713, allocations: 8.125 kB / 0.8302 GB, free: 276 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.7713, allocations: 3.938 kB / 0.8302 GB, free: 272 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7713, allocations: 0 / 0.8302 GB, free: 272 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.7715, allocations: 35.95 kB / 0.8303 GB, free: 236 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.7718, allocations: 240.9 kB / 0.8305 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.772, allocations: 50.53 kB / 0.8305 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.7721, allocations: 24.91 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.7721, allocations: 0 / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.7721, allocations: 34.5 kB / 0.8306 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.7722, allocations: 0 / 0.8306 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0003535/0.7725, allocations: 89.64 kB / 0.8307 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.7726, allocations: 51.41 kB / 0.8307 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.7726, allocations: 105.8 kB / 0.8308 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.7727, allocations: 25.7 kB / 0.8309 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.7727, allocations: 80.14 kB / 0.8309 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.7727, allocations: 14.16 kB / 0.8309 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.7728, allocations: 9.719 kB / 0.831 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.773, allocations: 310.9 kB / 0.8312 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.654e-05/0.7731, allocations: 27.97 kB / 0.8313 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.7732, allocations: 19.86 kB / 0.8313 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.7733, allocations: 36.83 kB / 0.8313 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7734, allocations: 0 / 0.8313 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.7735, allocations: 77.66 kB / 0.8314 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.7736, allocations: 4 kB / 0.8314 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.7736, allocations: 0 / 0.8314 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7736, allocations: 0 / 0.8314 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.7737, allocations: 12.23 kB / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.7737, allocations: 0 / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.7738, allocations: 11.94 kB / 0.8314 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.7738, allocations: 0 / 0.8314 GB, free: 14.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001421/0.7739, allocations: 118.9 kB / 0.8315 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.7739, allocations: 7.938 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.774, allocations: 11.08 kB / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.774, allocations: 0 / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.774, allocations: 0 / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.774, allocations: 0 / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.7742, allocations: 161.6 kB / 0.8317 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7742, allocations: 4 kB / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.7742, allocations: 4 kB / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7742, allocations: 0 / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.7743, allocations: 4 kB / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7743, allocations: 0 / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7743, allocations: 11.97 kB / 0.8317 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.7745, allocations: 163.4 kB / 0.8319 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.7746, allocations: 81.09 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.7746, allocations: 0 / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.7747, allocations: 8.031 kB / 0.832 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.7747, allocations: 7.969 kB / 0.832 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.7747, allocations: 0 / 0.832 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.7748, allocations: 87.22 kB / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7748, allocations: 0 / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002076/0.775, allocations: 4 kB / 0.8321 GB, free: 14.14 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001399/0.7751, allocations: 99.25 kB / 0.8322 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.7754, allocations: 43.95 kB / 0.8322 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7754, allocations: 0 / 0.8322 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.7755, allocations: 23.92 kB / 0.8322 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.7758, allocations: 7.938 kB / 0.8322 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.7762, allocations: 111.6 kB / 0.8323 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.7766, allocations: 0.6884 MB / 0.833 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.7766, allocations: 0 / 0.833 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.7767, allocations: 11.44 kB / 0.833 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.7767, allocations: 0 / 0.833 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.00269/0.7794, allocations: 436.5 kB / 0.8334 GB, free: 12.68 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)