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.001331/0.001331, 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.001406/0.001406, allocations: 197.9 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.509/1.509, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.215/3.215, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 65.14 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4593, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002295/0.4616, allocations: 0.7741 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.4627, allocations: 0.8428 MB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.4627, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.4628, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.023e-05/0.4629, allocations: 3.938 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.4631, allocations: 23.98 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.4631, allocations: 47.89 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.4633, allocations: 12 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.634e-05/0.4634, allocations: 15.92 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.4634, allocations: 23.91 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.4635, allocations: 4 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.4635, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.4635, allocations: 15.92 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.4636, allocations: 19.92 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.4637, allocations: 47.84 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4637, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4637, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4637, allocations: 0 / 1.069 GB, free: 9.086 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.0005927/0.4643, allocations: 355.7 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4644, allocations: 11.97 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.4644, allocations: 4.844 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.4646, allocations: 164.4 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.4646, allocations: 8.375 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.4647, allocations: 4.312 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.4649, allocations: 73.78 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4649, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4649, allocations: 3.984 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4649, allocations: 0 / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.4652, allocations: 51.94 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.4657, allocations: 292.7 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.4659, allocations: 66.48 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.466, allocations: 28.91 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.4661, allocations: 8.062 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.4661, allocations: 34.56 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4661, allocations: 0 / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004203/0.4665, allocations: 105.6 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.4666, allocations: 59.39 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.4667, allocations: 101.9 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4667, allocations: 33.7 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.4668, allocations: 92.03 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.4668, allocations: 7.906 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.4669, allocations: 17.7 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.467, allocations: 322.7 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4671, allocations: 19.98 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.301e-05/0.4672, allocations: 27.97 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.4674, allocations: 52.81 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4674, allocations: 0 / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002492/0.4677, allocations: 93.48 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4677, allocations: 4 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4677, allocations: 4 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4677, allocations: 0 / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4679, allocations: 11.98 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4679, allocations: 7.938 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.468, allocations: 11.98 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.468, allocations: 0 / 1.071 GB, free: 6.824 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.0001349/0.4681, allocations: 117.8 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.4681, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.4682, allocations: 7.906 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.4682, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4682, allocations: 4 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4682, allocations: 4 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.4684, allocations: 177.8 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4684, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.4685, allocations: 11.98 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4685, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4685, allocations: 4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4685, allocations: 3.938 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4685, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.4689, allocations: 191.3 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.469, allocations: 81.09 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.469, allocations: 0 / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4691, allocations: 12 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.4692, allocations: 7.969 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.4692, allocations: 4 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.388e-05/0.4693, allocations: 87.58 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4693, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002151/0.4695, allocations: 12 kB / 1.072 GB, free: 6.012 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.0001476/0.4696, allocations: 111.2 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.4699, allocations: 51.89 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4699, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.47, allocations: 31.97 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.4704, allocations: 12 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.4707, allocations: 143.1 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.471, allocations: 0.6809 MB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.817e-05/0.4711, allocations: 8 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.4711, allocations: 11.42 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4711, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of Templates: time 0.002946/0.4741, allocations: 0.7711 MB / 1.074 GB, free: 4.145 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)