Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00144/0.00144, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001804/0.001805, allocations: 189.9 kB / 16.13 MB, free: 6.703 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.644/1.644, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 69.45 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3806, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00334/0.384, allocations: 0.7361 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3856, allocations: 0.8118 MB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.3857, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.297e-05/0.3858, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.3859, allocations: 3.938 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3861, allocations: 12 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.3862, allocations: 19.98 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3864, allocations: 4 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3865, allocations: 19.86 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.3866, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.3866, allocations: 8 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.3866, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.3867, allocations: 11.92 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.3867, allocations: 11.92 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3869, allocations: 15.97 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.3869, allocations: 0 / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.756e-06/0.3869, allocations: 0 / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.3869, allocations: 0 / 1.069 GB, free: 9.211 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.0007505/0.3877, allocations: 335.7 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.056e-05/0.3877, allocations: 16.03 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.3878, allocations: 0.9375 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.388, allocations: 164.4 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.388, allocations: 384 / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.3881, allocations: 12.31 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3883, allocations: 46.23 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3883, allocations: 192 / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.3884, allocations: 7.938 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3884, allocations: 3.984 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.3886, allocations: 43.84 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.3891, allocations: 245 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3892, allocations: 38.5 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.935e-05/0.3893, allocations: 20.91 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3894, allocations: 0 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.3896, allocations: 38.5 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.3896, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000394/0.39, allocations: 81.55 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.39, allocations: 51.41 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.3901, allocations: 110 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.3901, allocations: 25.7 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.3902, allocations: 80.14 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.3903, allocations: 3.906 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.3903, allocations: 17.72 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3905, allocations: 314.8 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.3906, allocations: 15.98 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.3907, allocations: 23.98 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3908, allocations: 44.75 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3909, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.3911, allocations: 61.61 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.3911, allocations: 8.094 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3911, allocations: 4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3912, allocations: 0 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3913, allocations: 11.98 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.3913, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.3913, allocations: 7.984 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3914, allocations: 4 kB / 1.071 GB, free: 7.184 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 0.0001437/0.3915, allocations: 109.8 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.3915, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3918, allocations: 80.72 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3918, allocations: 0 / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3918, allocations: 0 / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3918, allocations: 0 / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.392, allocations: 161.6 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3921, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.3921, allocations: 11.98 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3921, allocations: 3.938 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.3922, allocations: 7.969 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3922, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3922, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3925, allocations: 171.3 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.3925, allocations: 77.11 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3925, allocations: 4 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.3926, allocations: 8.016 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.3927, allocations: 4 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3927, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.3927, allocations: 79.28 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3928, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002133/0.393, allocations: 11.94 kB / 1.072 GB, free: 6.367 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.0002266/0.3932, allocations: 99.23 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3935, allocations: 39.97 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3935, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.3936, allocations: 15.92 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3939, allocations: 15.92 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.3944, allocations: 112.2 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.3949, allocations: 0.6731 MB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.3949, allocations: 0 / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.3949, allocations: 11.38 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3949, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.003645/0.3986, allocations: 377.5 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1)