Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009652/0.009652, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 15.72 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3804, 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.Max): time 0.001283/0.3818, allocations: 438.6 kB / 1.075 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3832, allocations: 0.8079 MB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.3833, allocations: 0 / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.3833, allocations: 0 / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.3834, allocations: 7.922 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.3836, allocations: 12 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.3837, allocations: 51.78 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3838, allocations: 8 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.3839, allocations: 11.92 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.384, allocations: 27.91 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.384, allocations: 0 / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.3841, allocations: 4 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.3841, allocations: 7.984 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.3842, allocations: 41.58 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.819e-05/0.3843, allocations: 35.86 kB / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3843, allocations: 0 / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3843, allocations: 0 / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3843, allocations: 0 / 1.076 GB, free: 6.078 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006688/0.385, allocations: 363.7 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.385, allocations: 12.03 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.3851, allocations: 0.9375 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3852, allocations: 176.2 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3852, allocations: 384 / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3853, allocations: 4.375 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.3856, allocations: 82.16 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.3856, allocations: 192 / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3856, allocations: 11.92 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3856, allocations: 0 / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003641/0.386, allocations: 87.92 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.3865, allocations: 272.9 kB / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.3868, allocations: 70.42 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.3869, allocations: 52.91 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.387, allocations: 0 / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.387, allocations: 34.56 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.387, allocations: 0 / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006081/0.3876, allocations: 165.5 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3877, allocations: 51.41 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.3878, allocations: 113.8 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3878, allocations: 25.7 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.3879, allocations: 84.14 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.3879, allocations: 19.81 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.3879, allocations: 9.719 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.3881, allocations: 314.8 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3883, allocations: 39.97 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3885, allocations: 47.95 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.3888, allocations: 88.73 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3888, allocations: 3.938 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005134/0.3893, allocations: 121.6 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.3894, allocations: 8 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3894, allocations: 0 / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3894, allocations: 3.938 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.3897, allocations: 23.98 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3897, allocations: 0 / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.3898, allocations: 23.98 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3899, allocations: 0 / 1.078 GB, free: 3.586 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 (3): * Single equations (assignments): 3 * 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.0001307/0.39, allocations: 118.4 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.3901, allocations: 7.906 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005874/0.3907, allocations: 129.5 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3907, allocations: 0 / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3907, allocations: 0 / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3907, allocations: 0 / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.391, allocations: 169.6 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.391, allocations: 0 / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.3911, allocations: 27.91 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3911, allocations: 4 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3912, allocations: 384 / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3912, allocations: 0 / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3912, allocations: 0 / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.3918, allocations: 219.4 kB / 1.078 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.392, allocations: 92.94 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.392, allocations: 0 / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.3922, allocations: 23.92 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.3922, allocations: 0 / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3923, allocations: 4 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.3923, allocations: 87.27 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3924, allocations: 0 / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00038/0.3927, allocations: 8 kB / 1.079 GB, free: 2.605 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 (3): * Single equations (assignments): 3 * 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.0002126/0.393, allocations: 99.19 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005262/0.3935, allocations: 95.92 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3935, allocations: 4 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.3938, allocations: 43.95 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.3942, allocations: 11.88 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.3947, allocations: 140.6 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.3953, allocations: 0.6848 MB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.557e-05/0.3953, allocations: 0 / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.3954, allocations: 11.38 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3954, allocations: 0 / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of Templates: time 0.004054/0.3994, allocations: 0.5366 MB / 1.08 GB, free: 0.9336 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1)