Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009126/0.0009129, allocations: 97.72 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.006118/0.006119, allocations: 169.8 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 17.59 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001182/0.3835, allocations: 0.5372 MB / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3848, allocations: 0.8779 MB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3849, allocations: 0 / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.385, allocations: 11.88 kB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.3851, allocations: 11.94 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.3853, allocations: 23.98 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3854, allocations: 71.72 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3855, allocations: 31.97 kB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.3856, allocations: 19.92 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.3857, allocations: 23.86 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3858, allocations: 0 / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.3858, allocations: 0 / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.3858, allocations: 11.92 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.3859, allocations: 53.5 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.386, allocations: 68.02 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.386, allocations: 7.938 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.386, allocations: 0 / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.386, allocations: 0 / 1.076 GB, free: 5.762 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005589/0.3866, allocations: 383.2 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3866, allocations: 8.031 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.3867, allocations: 8.844 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.3869, allocations: 205.9 kB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.387, allocations: 4.375 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.387, allocations: 12.31 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.3871, allocations: 62.17 kB / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.3872, allocations: 4.188 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3872, allocations: 7.938 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3872, allocations: 0 / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3873, allocations: 31.98 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.3879, allocations: 328.6 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3881, allocations: 54.56 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.3881, allocations: 25 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.3882, allocations: 0 / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3882, allocations: 30.56 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3882, allocations: 0 / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002834/0.3885, allocations: 85.61 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3885, allocations: 51.41 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3887, allocations: 133.8 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3887, allocations: 29.7 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.3888, allocations: 104 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3888, allocations: 3.906 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.3888, allocations: 17.7 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.389, allocations: 322.8 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.3891, allocations: 19.98 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.3891, allocations: 15.98 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.507e-05/0.3892, allocations: 32.84 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3892, allocations: 0 / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000157/0.3894, allocations: 73.62 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3894, allocations: 5.25 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.3894, allocations: 0 / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3894, allocations: 4 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.3895, allocations: 7.984 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3895, allocations: 0 / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/0.3896, allocations: 19.89 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3896, allocations: 0 / 1.078 GB, free: 3.488 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: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001004/0.3897, allocations: 117.8 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.3898, allocations: 4.328 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.3898, allocations: 16.19 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3898, allocations: 11.97 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3898, allocations: 3.938 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3899, allocations: 0 / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.3901, allocations: 185.6 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3901, allocations: 4 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.3901, allocations: 7.938 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3901, allocations: 4 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3901, allocations: 0 / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3902, allocations: 0 / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3902, allocations: 3.984 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.3904, allocations: 163.4 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3904, allocations: 85 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3905, allocations: 4 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3906, allocations: 11.98 kB / 1.078 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.3906, allocations: 11.98 kB / 1.078 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.3906, allocations: 0 / 1.078 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.007e-05/0.3907, allocations: 105 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3907, allocations: 0 / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002299/0.391, allocations: 15.94 kB / 1.079 GB, free: 2.648 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * 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.0001645/0.3911, allocations: 107.2 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.3913, allocations: 35.98 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3913, allocations: 0 / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.3914, allocations: 19.98 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3917, allocations: 17.48 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.3921, allocations: 188.5 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.3924, allocations: 0.6965 MB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.3925, allocations: 0 / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.3925, allocations: 19.36 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3925, allocations: 0 / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of Templates: time 0.003203/0.3957, allocations: 0.7147 MB / 1.08 GB, free: 0.8008 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1)