Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01105/0.01105, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.627/1.627, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.174/3.174, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004127, allocations: 14.88 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4476, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001047/0.4487, allocations: 441.7 kB / 1.075 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4499, allocations: 0.8352 MB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.45, allocations: 0 / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.45, allocations: 3.938 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.4502, allocations: 4 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.4503, allocations: 15.98 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.4505, allocations: 47.84 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.4506, allocations: 15.98 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.4507, allocations: 11.92 kB / 1.075 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.4508, allocations: 31.78 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.4508, allocations: 0 / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.4509, allocations: 4 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.4509, allocations: 4 kB / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.682e-05/0.451, allocations: 49.55 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.4511, allocations: 43.86 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4511, allocations: 0 / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4511, allocations: 0 / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4511, allocations: 0 / 1.076 GB, free: 5.996 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006177/0.4517, allocations: 347.7 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4518, allocations: 16.02 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.4518, allocations: 0.9375 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.452, allocations: 172.3 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.452, allocations: 8.375 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.4521, allocations: 384 / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.4523, allocations: 81.75 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4523, allocations: 0 / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4523, allocations: 3.938 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4523, allocations: 0 / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.4526, allocations: 67.94 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.4532, allocations: 288.7 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.4534, allocations: 74.52 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.4536, allocations: 36.88 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.4536, allocations: 3.938 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.4537, allocations: 38.56 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.4537, allocations: 0 / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005249/0.4542, allocations: 117.6 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.4543, allocations: 55.41 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.4544, allocations: 109.8 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.4545, allocations: 25.7 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.4546, allocations: 88.12 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.4546, allocations: 11.81 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.4546, allocations: 17.66 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.4549, allocations: 318.8 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.455, allocations: 31.98 kB / 1.077 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.4551, allocations: 28.16 kB / 1.077 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.4553, allocations: 72.89 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4554, allocations: 0 / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002612/0.4556, allocations: 85.66 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4557, allocations: 9.719 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4557, allocations: 0 / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4557, allocations: 4 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4558, allocations: 19.86 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.4559, allocations: 3.984 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.4559, allocations: 12 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.456, allocations: 4 kB / 1.078 GB, free: 3.664 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: 2 (reaToInt.y,intLesEquThr.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.0001437/0.4561, allocations: 117.8 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.4561, allocations: 11.91 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.4562, allocations: 7.906 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4562, allocations: 0 / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4562, allocations: 0 / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4562, allocations: 0 / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.4564, allocations: 185.6 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4565, allocations: 0 / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.4566, allocations: 11.98 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.4566, allocations: 4 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4566, allocations: 3.938 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4566, allocations: 4 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4566, allocations: 0 / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.457, allocations: 195.4 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.457, allocations: 85.02 kB / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.4571, allocations: 4 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4572, allocations: 11.98 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.4573, allocations: 7.984 kB / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.4573, allocations: 0 / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.4573, allocations: 91.27 kB / 1.078 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4574, allocations: 0 / 1.078 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002258/0.4576, allocations: 8 kB / 1.078 GB, free: 2.828 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001966/0.4578, allocations: 107.2 kB / 1.078 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.4581, allocations: 63.94 kB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4581, allocations: 0 / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.4583, allocations: 39.92 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.4586, allocations: 7.984 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.4591, allocations: 136.7 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.4595, allocations: 0.6848 MB / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.287e-05/0.4595, allocations: 7.984 kB / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.4596, allocations: 7.438 kB / 1.079 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.4596, allocations: 0 / 1.079 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.003207/0.4628, allocations: 0.7657 MB / 1.08 GB, free: 0.957 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)