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.00113/0.00113, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.01137/0.01137, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.723/1.723, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.645/1.645, allocations: 252 MB / 0.5105 GB, free: 4.637 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.0006061/0.000606, allocations: 20 kB / 0.6249 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6341, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001537/0.6356, allocations: 1.106 MB / 0.7298 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.6359, allocations: 104.6 kB / 0.7299 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.636, allocations: 0 / 0.7299 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.636, allocations: 0 / 0.7299 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.6361, allocations: 4 kB / 0.7299 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.443e-05/0.6362, allocations: 3.984 kB / 0.7299 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.6362, allocations: 23.94 kB / 0.7299 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.6363, allocations: 11.98 kB / 0.73 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.6364, allocations: 11.94 kB / 0.73 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.6365, allocations: 7.969 kB / 0.73 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.6365, allocations: 4 kB / 0.73 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.6365, allocations: 0 / 0.73 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.6365, allocations: 7.938 kB / 0.73 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.6366, allocations: 33.64 kB / 0.73 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.592e-05/0.6367, allocations: 19.95 kB / 0.73 GB, free: 9.879 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.6367, allocations: 0 / 0.73 GB, free: 9.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6367, allocations: 3.938 kB / 0.73 GB, free: 9.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.6367, allocations: 0 / 0.73 GB, free: 9.875 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.000488/0.6372, allocations: 341.5 kB / 0.7304 GB, free: 9.492 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6373, allocations: 12.03 kB / 0.7304 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.6373, allocations: 4.938 kB / 0.7304 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.6375, allocations: 172.2 kB / 0.7305 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.6375, allocations: 8.312 kB / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.6375, allocations: 384 / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.6377, allocations: 62.22 kB / 0.7306 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.6378, allocations: 192 / 0.7306 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.6378, allocations: 3.938 kB / 0.7306 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6378, allocations: 0 / 0.7306 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.638, allocations: 47.95 kB / 0.7307 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.6383, allocations: 248.9 kB / 0.7309 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.6385, allocations: 46.48 kB / 0.7309 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.6386, allocations: 32.91 kB / 0.731 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.6386, allocations: 0 / 0.731 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.6386, allocations: 34.5 kB / 0.731 GB, free: 8.719 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.6386, allocations: 0 / 0.731 GB, free: 8.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003725/0.639, allocations: 105.6 kB / 0.7311 GB, free: 8.609 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.6391, allocations: 51.41 kB / 0.7312 GB, free: 8.547 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.488e-05/0.6392, allocations: 97.86 kB / 0.7313 GB, free: 8.441 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.6392, allocations: 29.69 kB / 0.7313 GB, free: 8.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.6393, allocations: 88.27 kB / 0.7314 GB, free: 8.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.6393, allocations: 3.906 kB / 0.7314 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.6393, allocations: 13.72 kB / 0.7314 GB, free: 8.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6395, allocations: 310.8 kB / 0.7317 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.6396, allocations: 23.98 kB / 0.7317 GB, free: 7.957 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.6397, allocations: 27.97 kB / 0.7317 GB, free: 7.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.6398, allocations: 44.83 kB / 0.7318 GB, free: 7.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6398, allocations: 0 / 0.7318 GB, free: 7.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002209/0.6401, allocations: 89.5 kB / 0.7319 GB, free: 7.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6401, allocations: 5.719 kB / 0.7319 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.6401, allocations: 0 / 0.7319 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.6401, allocations: 0 / 0.7319 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.6402, allocations: 19.98 kB / 0.7319 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6402, allocations: 4.031 kB / 0.7319 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.6403, allocations: 4 kB / 0.7319 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.6403, allocations: 0 / 0.7319 GB, free: 7.758 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.356e-05/0.6404, allocations: 113.8 kB / 0.732 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.6404, allocations: 3.984 kB / 0.732 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.6405, allocations: 11.06 kB / 0.732 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.6405, allocations: 4 kB / 0.732 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6405, allocations: 4 kB / 0.732 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6405, allocations: 0 / 0.732 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.6407, allocations: 161.6 kB / 0.7322 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.6407, allocations: 0 / 0.7322 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.6407, allocations: 11.98 kB / 0.7322 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.6407, allocations: 0 / 0.7322 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.6407, allocations: 0 / 0.7322 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6407, allocations: 7.938 kB / 0.7322 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6408, allocations: 256 / 0.7322 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.641, allocations: 175.5 kB / 0.7324 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.6411, allocations: 81.02 kB / 0.7324 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.6411, allocations: 4 kB / 0.7324 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.6412, allocations: 16.02 kB / 0.7325 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.6412, allocations: 0 / 0.7325 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.6412, allocations: 4 kB / 0.7325 GB, free: 7.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.6413, allocations: 87.27 kB / 0.7325 GB, free: 6.992 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6413, allocations: 3.938 kB / 0.7325 GB, free: 6.988 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002008/0.6415, allocations: 0 / 0.7325 GB, free: 6.988 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.0001821/0.6417, allocations: 99.25 kB / 0.7326 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.6419, allocations: 55.89 kB / 0.7327 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6419, allocations: 0 / 0.7327 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/0.642, allocations: 28.05 kB / 0.7327 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.6423, allocations: 7.938 kB / 0.7327 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.6426, allocations: 112.7 kB / 0.7328 GB, free: 6.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.6428, allocations: 0.677 MB / 0.7335 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.6429, allocations: 3.984 kB / 0.7335 GB, free: 5.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.6429, allocations: 7.438 kB / 0.7335 GB, free: 5.941 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6429, allocations: 4.062 kB / 0.7335 GB, free: 5.938 MB / 0.545 GB Notification: Performance of Templates: time 0.002298/0.6452, allocations: 367.5 kB / 0.7339 GB, free: 5.586 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: