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.001117/0.001117, allocations: 98.27 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.009198/0.009198, allocations: 169.9 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.543/1.543, 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.991/2.991, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 14.44 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3433, 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.001156/0.3445, allocations: 0.5333 MB / 1.075 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3456, allocations: 0.878 MB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.3457, allocations: 0 / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.3459, allocations: 11.88 kB / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.803e-05/0.3459, allocations: 7.922 kB / 1.076 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.3461, allocations: 23.98 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3462, allocations: 67.78 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3464, allocations: 39.91 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.3464, allocations: 15.94 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.3465, allocations: 23.84 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3466, allocations: 0 / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.3466, allocations: 0 / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.3466, allocations: 15.92 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.3467, allocations: 49.5 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3468, allocations: 76.02 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3468, allocations: 3.938 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3468, allocations: 0 / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3468, allocations: 0 / 1.076 GB, free: 5.766 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.0005658/0.3474, allocations: 379.2 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3474, allocations: 12.03 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3475, allocations: 8.844 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.3477, allocations: 201.8 kB / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3477, allocations: 384 / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3477, allocations: 4.375 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3479, allocations: 70.17 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3479, allocations: 4.125 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3479, allocations: 3.938 kB / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3479, allocations: 0 / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.348, allocations: 43.97 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.3486, allocations: 328.6 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3488, allocations: 46.55 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.3488, allocations: 24.86 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3489, allocations: 0 / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3489, allocations: 42.64 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3489, allocations: 0 / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002499/0.3492, allocations: 85.59 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.3492, allocations: 51.41 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3493, allocations: 135.2 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3493, allocations: 25.7 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.3494, allocations: 112 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.3494, allocations: 3.906 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3495, allocations: 17.72 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3496, allocations: 322.8 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.3496, allocations: 16 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.3497, allocations: 15.98 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.001e-05/0.3498, allocations: 32.84 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3498, allocations: 0 / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001607/0.35, allocations: 73.61 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.35, allocations: 4 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.35, allocations: 0 / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.35, allocations: 4 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.3501, allocations: 8 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3501, allocations: 4 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.3502, allocations: 15.89 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3502, allocations: 4 kB / 1.078 GB, free: 3.484 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 8.308e-05/0.3503, allocations: 121.8 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.3503, allocations: 0 / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.3504, allocations: 12.25 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3504, allocations: 4 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3504, allocations: 0 / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.3504, allocations: 0 / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3506, allocations: 185.5 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3506, allocations: 0 / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.3506, allocations: 15.92 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3506, allocations: 0 / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3507, allocations: 0 / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3507, allocations: 0 / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3507, allocations: 0 / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.3509, allocations: 167.4 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.3509, allocations: 85.02 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3509, allocations: 4 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3511, allocations: 11.98 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3511, allocations: 11.98 kB / 1.078 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3511, allocations: 3.938 kB / 1.078 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.3512, allocations: 109.3 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3512, allocations: 0 / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000224/0.3514, allocations: 11.94 kB / 1.079 GB, free: 2.656 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.0001794/0.3516, allocations: 107.2 kB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.3518, allocations: 40.36 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3518, allocations: 0 / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.3519, allocations: 20.08 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3522, allocations: 9.484 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.3525, allocations: 200.5 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3528, allocations: 0.6926 MB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.3528, allocations: 0 / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.3529, allocations: 15.44 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of SimCode: time 1.943e-06/0.3529, allocations: 0 / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of Templates: time 0.002906/0.3558, allocations: 0.7218 MB / 1.08 GB, free: 0.8008 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)