Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001168/0.001169, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.616/1.616, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 64.17 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4153, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002122/0.4174, allocations: 0.7634 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.4184, allocations: 0.8429 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.4185, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.4185, allocations: 4 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.708e-05/0.4186, allocations: 7.922 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.4188, allocations: 15.98 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.997e-05/0.4189, allocations: 47.84 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.419, allocations: 8 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.627e-05/0.4191, allocations: 27.91 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.4192, allocations: 27.91 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.4192, allocations: 4 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.4192, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.4193, allocations: 8 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.4193, allocations: 19.86 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.4194, allocations: 47.86 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.4194, allocations: 3.984 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4194, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4195, allocations: 0 / 1.069 GB, free: 8.93 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.00057/0.42, allocations: 355.7 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4201, allocations: 12.03 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.4201, allocations: 4.844 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.4203, allocations: 168.3 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4203, allocations: 4.375 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4203, allocations: 4.375 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.4205, allocations: 65.78 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4205, allocations: 4 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.4206, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4206, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.4208, allocations: 59.88 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.4212, allocations: 296.5 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.4214, allocations: 70.53 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.4216, allocations: 28.92 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4216, allocations: 0 / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.4216, allocations: 34.56 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4216, allocations: 0 / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004255/0.4221, allocations: 109.5 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4221, allocations: 59.41 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.487e-05/0.4222, allocations: 105.8 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.4222, allocations: 25.7 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.4223, allocations: 92.05 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.4223, allocations: 3.906 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.4224, allocations: 21.7 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4225, allocations: 314.8 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.4226, allocations: 31.97 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.082e-05/0.4227, allocations: 24.17 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.4229, allocations: 52.89 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4229, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002575/0.4232, allocations: 89.48 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4232, allocations: 8 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4232, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4232, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4234, allocations: 15.98 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4234, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.4235, allocations: 11.98 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.4235, allocations: 0 / 1.071 GB, free: 6.672 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,intLesThr.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.0001034/0.4236, allocations: 117.8 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.4236, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.4237, allocations: 11.89 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4237, allocations: 4 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4237, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4237, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.4239, allocations: 177.5 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4239, allocations: 3.938 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.424, allocations: 15.97 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.424, allocations: 11.94 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.424, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.424, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.424, allocations: 4 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.4244, allocations: 183.3 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.4244, allocations: 77.11 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4244, allocations: 7.938 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4245, allocations: 7.984 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.4246, allocations: 11.98 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4246, allocations: 4 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.4247, allocations: 91.34 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4247, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002275/0.4249, allocations: 4 kB / 1.072 GB, free: 5.852 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 (intLesThr.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.0001408/0.4251, allocations: 107.2 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.4253, allocations: 55.89 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4253, allocations: 8 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.4255, allocations: 27.97 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.4258, allocations: 9.406 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.4262, allocations: 149.3 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.4265, allocations: 0.6884 MB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.575e-05/0.4265, allocations: 4.281 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.4266, allocations: 15.42 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4266, allocations: 0 / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of Templates: time 0.003042/0.4296, allocations: 0.802 MB / 1.074 GB, free: 3.938 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)