Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001104/0.001104, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.591/1.591, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.981/2.981, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64.94 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4131, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003269/0.4165, allocations: 0.7008 MB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.4177, allocations: 0.8372 MB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.4178, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.4179, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.4179, allocations: 11.92 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.4181, allocations: 23.91 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.306e-05/0.4182, allocations: 43.86 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4184, allocations: 19.98 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.4185, allocations: 23.91 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.4185, allocations: 19.92 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.4186, allocations: 8 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.4186, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.4186, allocations: 11.92 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.4187, allocations: 23.86 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.4188, allocations: 43.86 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4188, allocations: 4 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4188, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.4188, allocations: 0 / 1.07 GB, free: 8.625 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.0005785/0.4194, allocations: 355.7 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4194, allocations: 8.031 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.4195, allocations: 8.844 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4196, allocations: 172.3 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4197, allocations: 384 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4197, allocations: 12.38 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.4199, allocations: 65.78 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4199, allocations: 0 / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4199, allocations: 4 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.42, allocations: 4 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.4202, allocations: 43.95 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.4206, allocations: 308.6 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.4208, allocations: 62.48 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4209, allocations: 36.91 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.421, allocations: 0 / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.421, allocations: 34.56 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.421, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004217/0.4214, allocations: 105.6 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.4215, allocations: 51.41 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.4216, allocations: 109.8 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.4216, allocations: 25.7 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.4217, allocations: 100 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.4217, allocations: 3.906 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.4217, allocations: 17.72 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4219, allocations: 322.8 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.972e-05/0.422, allocations: 19.98 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.161e-05/0.4221, allocations: 23.97 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.4223, allocations: 56.81 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4223, allocations: 0 / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002424/0.4225, allocations: 85.5 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4225, allocations: 4 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4226, allocations: 7.984 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4226, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.4227, allocations: 12.31 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4227, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.4228, allocations: 8 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4228, allocations: 11.92 kB / 1.072 GB, free: 6.363 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.0001233/0.423, allocations: 114.3 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.423, allocations: 3.984 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.4231, allocations: 11.91 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4231, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4231, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4231, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.4233, allocations: 181.5 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4233, allocations: 4 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.4234, allocations: 19.86 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4234, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4234, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4234, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4235, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4238, allocations: 191.3 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.4238, allocations: 81.11 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4239, allocations: 0 / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.424, allocations: 11.98 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.4241, allocations: 11.98 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.4241, allocations: 0 / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.777e-05/0.4242, allocations: 91.34 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4242, allocations: 0 / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002198/0.4244, allocations: 4 kB / 1.073 GB, free: 5.551 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.0001983/0.4246, allocations: 111.1 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.4249, allocations: 59.94 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4249, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.425, allocations: 23.98 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.4254, allocations: 11.97 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.4259, allocations: 145.3 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.4262, allocations: 0.6846 MB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.73e-05/0.4263, allocations: 4 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.4263, allocations: 15.44 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4264, allocations: 0 / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of Templates: time 0.003748/0.4301, allocations: 0.8903 MB / 1.074 GB, free: 3.559 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)