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.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001653/0.001653, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.911/1.911, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.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.652/1.652, allocations: 251.7 MB / 0.5088 GB, free: 3.301 MB / 414.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.001369/0.001369, allocations: 68.47 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6125, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002813/0.6154, allocations: 1.437 MB / 0.7252 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002853/0.6157, allocations: 100.6 kB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.6157, allocations: 4 kB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.6158, allocations: 0 / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.6158, allocations: 7.938 kB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.202e-05/0.6159, allocations: 7.984 kB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.947e-05/0.616, allocations: 19.98 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.6161, allocations: 15.92 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.6162, allocations: 7.938 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.6163, allocations: 15.92 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.6163, allocations: 0 / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-06/0.6163, allocations: 0 / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.6163, allocations: 4 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.6164, allocations: 7.938 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.957e-05/0.6164, allocations: 27.89 kB / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6165, allocations: 0 / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6165, allocations: 0 / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.6165, allocations: 0 / 0.7254 GB, free: 11.49 MB / 0.545 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.0005479/0.617, allocations: 341.5 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6171, allocations: 8.031 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.6171, allocations: 8.844 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.6173, allocations: 164.3 kB / 0.7259 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.6173, allocations: 4.375 kB / 0.7259 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.6173, allocations: 4.375 kB / 0.7259 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.6175, allocations: 46.23 kB / 0.726 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6175, allocations: 4.188 kB / 0.726 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6176, allocations: 3.938 kB / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6176, allocations: 0 / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.6177, allocations: 35.89 kB / 0.726 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.6181, allocations: 257 kB / 0.7263 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.6183, allocations: 38.44 kB / 0.7263 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.6184, allocations: 24.89 kB / 0.7263 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.6184, allocations: 4 kB / 0.7263 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.6184, allocations: 42.5 kB / 0.7264 GB, free: 10.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6185, allocations: 0 / 0.7264 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.6188, allocations: 85.55 kB / 0.7265 GB, free: 10.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.6189, allocations: 51.41 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.6189, allocations: 97.86 kB / 0.7266 GB, free: 10.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.619, allocations: 25.7 kB / 0.7266 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.619, allocations: 96.25 kB / 0.7267 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.6191, allocations: 3.906 kB / 0.7267 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.6191, allocations: 13.72 kB / 0.7267 GB, free: 9.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6192, allocations: 310.8 kB / 0.727 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.6193, allocations: 15.98 kB / 0.7271 GB, free: 9.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.6194, allocations: 23.97 kB / 0.7271 GB, free: 9.598 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.6195, allocations: 40.83 kB / 0.7271 GB, free: 9.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6195, allocations: 3.938 kB / 0.7271 GB, free: 9.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003498/0.6199, allocations: 73.58 kB / 0.7272 GB, free: 9.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6199, allocations: 4 kB / 0.7272 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.6199, allocations: 0 / 0.7272 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.62, allocations: 4 kB / 0.7272 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.6201, allocations: 12.02 kB / 0.7272 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6201, allocations: 0 / 0.7272 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.6201, allocations: 4 kB / 0.7272 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.6201, allocations: 0 / 0.7272 GB, free: 9.449 MB / 0.545 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 8.439e-05/0.6202, allocations: 117.8 kB / 0.7273 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.6202, allocations: 0 / 0.7273 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.6203, allocations: 7.109 kB / 0.7273 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6203, allocations: 0 / 0.7273 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6203, allocations: 7.938 kB / 0.7273 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6203, allocations: 4 kB / 0.7273 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.6205, allocations: 157.6 kB / 0.7275 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6205, allocations: 0 / 0.7275 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.6205, allocations: 7.984 kB / 0.7275 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.6205, allocations: 4 kB / 0.7275 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.6206, allocations: 0 / 0.7275 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6206, allocations: 0 / 0.7275 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6206, allocations: 0 / 0.7275 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.6208, allocations: 171.4 kB / 0.7277 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.6209, allocations: 77.11 kB / 0.7277 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.6209, allocations: 256 / 0.7277 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.6209, allocations: 7.984 kB / 0.7278 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.621, allocations: 11.94 kB / 0.7278 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.621, allocations: 0 / 0.7278 GB, free: 8.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.6211, allocations: 87.27 kB / 0.7278 GB, free: 8.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.336e-06/0.6211, allocations: 4.031 kB / 0.7278 GB, free: 8.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002111/0.6213, allocations: 7.938 kB / 0.7279 GB, free: 8.695 MB / 0.545 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.0001776/0.6215, allocations: 95.25 kB / 0.7279 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.6217, allocations: 39.95 kB / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6217, allocations: 0 / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.6218, allocations: 24.05 kB / 0.728 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.6221, allocations: 3.938 kB / 0.728 GB, free: 8.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.6224, allocations: 111.2 kB / 0.7281 GB, free: 8.391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.6227, allocations: 0.677 MB / 0.7288 GB, free: 7.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.6227, allocations: 7.938 kB / 0.7288 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.6228, allocations: 7.438 kB / 0.7288 GB, free: 7.672 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6228, allocations: 4.062 kB / 0.7288 GB, free: 7.668 MB / 0.545 GB Notification: Performance of Templates: time 0.002484/0.6253, allocations: 372.1 kB / 0.7292 GB, free: 7.309 MB / 0.545 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)