Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001465/0.001465, 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.001523/0.001523, allocations: 194.8 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.087/3.087, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 60.41 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3788, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002185/0.381, allocations: 0.6994 MB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3821, allocations: 0.8334 MB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.3822, allocations: 4 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.3823, allocations: 3.938 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.333e-05/0.3823, allocations: 7.922 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.3825, allocations: 23.92 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.507e-05/0.3826, allocations: 47.84 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3828, allocations: 15.98 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3829, allocations: 23.92 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.383, allocations: 19.92 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.383, allocations: 4 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.383, allocations: 4 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.3831, allocations: 11.97 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.3831, allocations: 23.86 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.3832, allocations: 43.88 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3832, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3832, allocations: 4 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3833, allocations: 4 kB / 1.07 GB, free: 8.66 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.0006169/0.3839, allocations: 351.7 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3839, allocations: 15.95 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.384, allocations: 4.844 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3842, allocations: 168.4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3842, allocations: 8.375 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.3842, allocations: 4.312 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.3844, allocations: 73.78 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3845, allocations: 0 / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3845, allocations: 7.984 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3845, allocations: 0 / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.3847, allocations: 55.94 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.3852, allocations: 292.7 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3854, allocations: 66.47 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3856, allocations: 28.92 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3856, allocations: 4 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.3856, allocations: 34.5 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3856, allocations: 4 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004377/0.3861, allocations: 113.5 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3861, allocations: 51.41 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.3862, allocations: 109.9 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3862, allocations: 25.7 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.3863, allocations: 96.03 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3863, allocations: 7.906 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3864, allocations: 21.7 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3865, allocations: 318.8 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3866, allocations: 23.97 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.3867, allocations: 23.98 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.3869, allocations: 48.81 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3869, allocations: 4 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002611/0.3872, allocations: 89.48 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3872, allocations: 5.562 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3872, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3873, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3874, allocations: 11.98 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3874, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.3875, allocations: 11.98 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3875, allocations: 4 kB / 1.072 GB, free: 6.391 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 8.307e-05/0.3876, allocations: 114.3 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3876, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.3877, allocations: 11.91 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3877, allocations: 3.984 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3877, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3877, allocations: 336 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.3879, allocations: 181.5 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3879, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/0.388, allocations: 15.98 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.388, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.388, allocations: 7.984 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.388, allocations: 3.938 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3881, allocations: 7.922 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.3884, allocations: 183.3 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.3885, allocations: 85.11 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3885, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3886, allocations: 11.98 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.3887, allocations: 11.98 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.3887, allocations: 0 / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.3888, allocations: 87.28 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3888, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002305/0.389, allocations: 8 kB / 1.073 GB, free: 5.57 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.0001589/0.3892, allocations: 108.3 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002828/0.3895, allocations: 59.89 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3895, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.3896, allocations: 27.97 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3899, allocations: 8 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.3904, allocations: 141.4 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.3907, allocations: 0.6807 MB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.889e-05/0.3908, allocations: 4 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.3908, allocations: 19.36 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3908, allocations: 4 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of Templates: time 0.003608/0.3944, allocations: 0.8769 MB / 1.074 GB, free: 3.594 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)