Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009549/0.0009554, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001517/0.001517, allocations: 173.5 kB / 16.27 MB, free: 6.664 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.571/1.571, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.194/3.194, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004448, allocations: 14.42 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4194, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001306/0.4208, allocations: 437.7 kB / 1.075 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.4222, allocations: 0.8391 MB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.4222, allocations: 0 / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.4223, allocations: 3.938 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.4224, allocations: 8 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.4226, allocations: 19.92 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.4227, allocations: 43.89 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.4229, allocations: 12 kB / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.423, allocations: 19.86 kB / 1.075 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.4231, allocations: 19.92 kB / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.4231, allocations: 0 / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.4231, allocations: 8 kB / 1.076 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.4231, allocations: 7.969 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.4232, allocations: 41.58 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.4233, allocations: 47.83 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4233, allocations: 4 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4234, allocations: 0 / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4234, allocations: 0 / 1.076 GB, free: 5.977 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.0005978/0.424, allocations: 351.7 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.424, allocations: 8.031 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.4241, allocations: 4.938 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.4243, allocations: 172.3 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.4243, allocations: 4.375 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.4243, allocations: 384 / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.4246, allocations: 81.7 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4246, allocations: 0 / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4246, allocations: 4 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.4246, allocations: 4 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.4249, allocations: 59.95 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.4254, allocations: 300.7 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.4257, allocations: 62.48 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.4258, allocations: 40.91 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4258, allocations: 8.062 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4259, allocations: 34.5 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.4259, allocations: 0 / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004881/0.4264, allocations: 125.6 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.4264, allocations: 55.34 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.4265, allocations: 105.8 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4265, allocations: 25.7 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.4266, allocations: 92.12 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.4267, allocations: 7.812 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.4267, allocations: 21.66 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4269, allocations: 322.8 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.427, allocations: 23.98 kB / 1.077 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4271, allocations: 31.97 kB / 1.077 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.4273, allocations: 68.81 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4273, allocations: 0 / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002856/0.4276, allocations: 89.66 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4276, allocations: 7.938 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4277, allocations: 0 / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4277, allocations: 0 / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.4278, allocations: 15.98 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4278, allocations: 3.984 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.4279, allocations: 12 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4279, allocations: 0 / 1.078 GB, free: 3.652 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,intGreThr.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.0001116/0.4281, allocations: 121.8 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.4281, allocations: 3.906 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.4281, allocations: 11.91 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4282, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4282, allocations: 336 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4282, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.4284, allocations: 181.5 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4284, allocations: 0 / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.4285, allocations: 15.98 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.4285, allocations: 3.984 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4285, allocations: 4 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4286, allocations: 3.938 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4286, allocations: 0 / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.4289, allocations: 199.4 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.429, allocations: 85.02 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.429, allocations: 4 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4291, allocations: 11.98 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.4292, allocations: 11.98 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.4292, allocations: 0 / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.4293, allocations: 87.27 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4293, allocations: 4 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002251/0.4295, allocations: 8 kB / 1.078 GB, free: 2.809 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 (intGreThr.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.0001715/0.4297, allocations: 103.2 kB / 1.078 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.43, allocations: 71.88 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.43, allocations: 0 / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.4301, allocations: 39.97 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4305, allocations: 6.609 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.4309, allocations: 140.7 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.4312, allocations: 0.6809 MB / 1.079 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.373e-05/0.4313, allocations: 7.984 kB / 1.079 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.4313, allocations: 7.438 kB / 1.079 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.4313, allocations: 0 / 1.079 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of Templates: time 0.003736/0.4351, allocations: 0.7608 MB / 1.08 GB, free: 0.9414 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)