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.001105/0.001105, allocations: 91.38 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.008961/0.008961, allocations: 172 kB / 16.26 MB, free: 6.613 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.565/1.565, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 14.38 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3862, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001313/0.3876, allocations: 404.5 kB / 1.075 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3887, allocations: 0.8061 MB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.3887, allocations: 0 / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.3887, allocations: 0 / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.275e-05/0.3888, allocations: 3.938 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.389, allocations: 19.97 kB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.199e-05/0.3891, allocations: 12 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3892, allocations: 16 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.3893, allocations: 11.86 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.3893, allocations: 11.98 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3894, allocations: 0 / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3894, allocations: 4 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.3894, allocations: 3.938 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.3895, allocations: 25.7 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.384e-05/0.3895, allocations: 23.89 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3896, allocations: 0 / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3896, allocations: 8 kB / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3896, allocations: 0 / 1.075 GB, free: 6.18 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.0005221/0.3901, allocations: 335.8 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3901, allocations: 8.031 kB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3902, allocations: 4.844 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3903, allocations: 168.4 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3904, allocations: 384 / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.3904, allocations: 4.375 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3906, allocations: 54.23 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3906, allocations: 192 / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3906, allocations: 3.938 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.3906, allocations: 4 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.3908, allocations: 47.91 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.3912, allocations: 252.8 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3914, allocations: 46.5 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-05/0.3915, allocations: 28.91 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3915, allocations: 0 / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3915, allocations: 38.48 kB / 1.076 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.3915, allocations: 0 / 1.076 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004414/0.392, allocations: 89.66 kB / 1.076 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.3921, allocations: 63.39 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3922, allocations: 93.86 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3922, allocations: 29.83 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.3923, allocations: 88.05 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.3923, allocations: 4 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.3924, allocations: 9.719 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3925, allocations: 314.8 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.99e-05/0.3926, allocations: 19.98 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.448e-05/0.3927, allocations: 23.98 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3929, allocations: 52.75 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3929, allocations: 4.062 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002196/0.3931, allocations: 81.7 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.3932, allocations: 8 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3932, allocations: 0 / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3932, allocations: 0 / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3933, allocations: 20 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3933, allocations: 0 / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.3934, allocations: 11.98 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3934, allocations: 0 / 1.077 GB, free: 4.082 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 9.819e-05/0.3935, allocations: 110.4 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.3935, allocations: 4 kB / 1.077 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.3938, allocations: 84.72 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3938, allocations: 4 kB / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3938, allocations: 0 / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3938, allocations: 3.984 kB / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.394, allocations: 157.6 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.394, allocations: 4 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.3941, allocations: 16.02 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3941, allocations: 0 / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3941, allocations: 3.938 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3941, allocations: 0 / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3941, allocations: 4 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3944, allocations: 179.4 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.3945, allocations: 81.02 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3945, allocations: 0 / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.3946, allocations: 15.92 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.3946, allocations: 0 / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3946, allocations: 4.031 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.3947, allocations: 83.28 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3947, allocations: 0 / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002118/0.3949, allocations: 7.938 kB / 1.078 GB, free: 3.234 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.0001804/0.3951, allocations: 103.2 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3953, allocations: 43.97 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3953, allocations: 0 / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.439e-05/0.3954, allocations: 31.91 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3957, allocations: 7.938 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.396, allocations: 111 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3963, allocations: 0.6809 MB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.3963, allocations: 0 / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.3964, allocations: 7.438 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3964, allocations: 0 / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of Templates: time 0.002434/0.3988, allocations: 362 kB / 1.079 GB, free: 1.84 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)