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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0013/0.0013, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.16 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3979, 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.LessThreshold): time 0.002513/0.4004, allocations: 0.8683 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.4017, allocations: 0.8741 MB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.4018, allocations: 7.938 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.402, allocations: 11.92 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.4021, allocations: 3.938 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.4023, allocations: 31.86 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.4024, allocations: 67.78 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.4025, allocations: 35.97 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.4027, allocations: 27.86 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.4028, allocations: 23.8 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.4028, allocations: 4 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.4028, allocations: 4 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.4028, allocations: 7.984 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.4029, allocations: 35.78 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.403, allocations: 71.98 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4031, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4031, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.4031, allocations: 0 / 1.07 GB, free: 8.801 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.0006601/0.4037, allocations: 395.1 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4038, allocations: 8.031 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.4038, allocations: 8.844 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.4041, allocations: 196.1 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4041, allocations: 12.31 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.4041, allocations: 4.375 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.4043, allocations: 62.22 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4043, allocations: 192 / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4043, allocations: 11.94 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4043, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.4045, allocations: 31.98 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.4051, allocations: 320.7 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4052, allocations: 46.59 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.289e-05/0.4053, allocations: 21 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4053, allocations: 4 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4054, allocations: 34.56 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4054, allocations: 0 / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002643/0.4056, allocations: 69.58 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.4057, allocations: 51.41 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.4059, allocations: 139.3 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4059, allocations: 29.7 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.406, allocations: 104.1 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.406, allocations: 7.891 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.406, allocations: 25.64 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4062, allocations: 326.7 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.4062, allocations: 15.98 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.496e-05/0.4063, allocations: 16.17 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.4064, allocations: 28.92 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4064, allocations: 4 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001415/0.4065, allocations: 65.59 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4066, allocations: 4 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4066, allocations: 0 / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4066, allocations: 3.938 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.4067, allocations: 11.92 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4067, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.4068, allocations: 11.98 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4068, allocations: 0 / 1.072 GB, free: 6.547 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.561e-05/0.4069, allocations: 121.8 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.4069, allocations: 7.906 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.407, allocations: 12.23 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.407, allocations: 4 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.407, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.407, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.4072, allocations: 181.6 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4072, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.4073, allocations: 4 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4073, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4073, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4073, allocations: 3.984 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4073, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.4075, allocations: 163.3 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.4076, allocations: 85.02 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.4076, allocations: 8 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.4077, allocations: 15.98 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.4078, allocations: 7.984 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4078, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.493e-05/0.4079, allocations: 101.1 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4079, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002132/0.4081, allocations: 11.94 kB / 1.072 GB, free: 5.73 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.0001801/0.4083, allocations: 103.2 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.4085, allocations: 39.98 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4085, allocations: 0 / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.4085, allocations: 19.92 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.4089, allocations: 22.98 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.4093, allocations: 188.2 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.4096, allocations: 0.689 MB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.246e-05/0.4097, allocations: 7.984 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.4097, allocations: 11.42 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4097, allocations: 0 / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of Templates: time 0.003403/0.4131, allocations: 0.7263 MB / 1.074 GB, free: 3.879 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)