Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001476/0.001476, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.59 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3808, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002186/0.383, allocations: 0.8209 MB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3842, allocations: 0.8839 MB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3843, allocations: 3.938 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.3845, allocations: 15.86 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.572e-05/0.3845, allocations: 11.88 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3847, allocations: 23.97 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3849, allocations: 75.72 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3851, allocations: 35.97 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.727e-05/0.3852, allocations: 19.94 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.3853, allocations: 27.84 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.3853, allocations: 8 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.3853, allocations: 4 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.3854, allocations: 23.92 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.3854, allocations: 27.8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.3856, allocations: 76.03 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3856, allocations: 3.938 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3856, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.3856, allocations: 0 / 1.07 GB, free: 8.387 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.0006047/0.3862, allocations: 392.8 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3863, allocations: 12.03 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.3863, allocations: 12.84 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.3865, allocations: 192.1 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3866, allocations: 8.312 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3866, allocations: 8.375 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3867, allocations: 62.17 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.3868, allocations: 4.125 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3868, allocations: 3.938 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3868, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3869, allocations: 39.97 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.3874, allocations: 312.7 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3876, allocations: 50.55 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.3877, allocations: 20.92 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3877, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3877, allocations: 34.64 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3877, allocations: 0 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002913/0.388, allocations: 77.61 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3881, allocations: 51.41 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3882, allocations: 139.1 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.3882, allocations: 25.7 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.3883, allocations: 100.1 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.3883, allocations: 11.91 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.3884, allocations: 13.72 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3885, allocations: 322.8 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.3886, allocations: 12 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/0.3886, allocations: 16.17 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.309e-05/0.3887, allocations: 40.92 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3887, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.3889, allocations: 73.52 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3889, allocations: 9.094 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3889, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3889, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.389, allocations: 4 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.389, allocations: 3.984 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.3891, allocations: 8 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3891, allocations: 7.984 kB / 1.072 GB, free: 6.137 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 9.769e-05/0.3892, allocations: 118.3 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.3893, allocations: 3.906 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.3893, allocations: 12.25 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3893, allocations: 3.938 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3893, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3893, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3895, allocations: 189.6 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3895, allocations: 4 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.3896, allocations: 7.922 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3896, allocations: 4 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.3896, allocations: 0 / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3896, allocations: 3.938 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3896, allocations: 0 / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3898, allocations: 159.4 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.3899, allocations: 85.02 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3899, allocations: 4 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.39, allocations: 11.98 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.3901, allocations: 7.984 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3901, allocations: 0 / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.012e-05/0.3902, allocations: 108.7 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3902, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002242/0.3904, allocations: 11.94 kB / 1.073 GB, free: 5.316 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.0001742/0.3906, allocations: 109 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.3908, allocations: 39.97 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3908, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.295e-05/0.3908, allocations: 12 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3912, allocations: 15.92 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.3916, allocations: 170.4 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3919, allocations: 0.6963 MB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.088e-05/0.392, allocations: 4.266 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.392, allocations: 19.44 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.392, allocations: 0 / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.003236/0.3953, allocations: 0.8468 MB / 1.075 GB, free: 3.359 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1)