Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, 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.00189/0.00189, allocations: 189.2 kB / 16.14 MB, free: 6.688 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.25 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3979, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002313/0.4002, allocations: 0.7344 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.4013, allocations: 0.8157 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.4014, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.4014, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.4015, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.4017, allocations: 15.94 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.4018, allocations: 23.92 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4019, allocations: 4 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.402, allocations: 15.97 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.402, allocations: 7.875 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.402, allocations: 4 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.4021, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.4021, allocations: 7.984 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.4021, allocations: 7.938 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.386e-05/0.4022, allocations: 15.97 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4022, allocations: 4 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.866e-06/0.4022, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4022, allocations: 3.938 kB / 1.069 GB, free: 9.254 MB / 0.8262 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.0005496/0.4028, allocations: 335.7 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.4029, allocations: 12.03 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.4029, allocations: 0.9375 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.4031, allocations: 164.4 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4031, allocations: 8.375 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.4031, allocations: 4.375 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.4033, allocations: 46.25 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4033, allocations: 192 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4034, allocations: 7.922 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4034, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.4035, allocations: 35.91 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.4039, allocations: 244.9 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.404, allocations: 42.53 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.4041, allocations: 16.91 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.4041, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.4042, allocations: 34.56 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.4042, allocations: 4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.4045, allocations: 89.42 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.4046, allocations: 51.41 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.4047, allocations: 101.8 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.4047, allocations: 25.7 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.4047, allocations: 84.12 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.4047, allocations: 16.03 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.4048, allocations: 9.719 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4049, allocations: 314.8 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.405, allocations: 19.98 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.4051, allocations: 11.98 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.4052, allocations: 44.83 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4052, allocations: 0 / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002071/0.4055, allocations: 73.59 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4055, allocations: 4 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4055, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4055, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4056, allocations: 11.98 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4056, allocations: 3.984 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.4057, allocations: 15.95 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4057, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 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.538e-05/0.4058, allocations: 109.8 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.4058, allocations: 192 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.4061, allocations: 80.7 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4061, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4061, allocations: 4.031 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4061, allocations: 0 / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.4063, allocations: 161.6 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4063, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.4064, allocations: 12 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4064, allocations: 3.984 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4064, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4064, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4064, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.4067, allocations: 175.3 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.4068, allocations: 81.11 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.4068, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.4069, allocations: 4 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.4069, allocations: 3.984 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.4069, allocations: 0 / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.407, allocations: 87.31 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.407, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002213/0.4072, allocations: 7.938 kB / 1.072 GB, free: 6.41 MB / 0.8262 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.0001471/0.4074, allocations: 103.2 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.4076, allocations: 35.97 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4076, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.4077, allocations: 23.98 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.408, allocations: 13.48 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.4083, allocations: 112 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4085, allocations: 0.6731 MB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.4086, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.4086, allocations: 11.5 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4086, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of Templates: time 0.002346/0.411, allocations: 357.4 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1)