Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, 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.001318/0.001319, allocations: 191.4 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 74.66 kB / 0.671 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3027, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.004447/0.3072, allocations: 1.975 MB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3091, allocations: 1.007 MB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.3093, allocations: 4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.3098, allocations: 103.7 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.3101, allocations: 91.66 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.3104, allocations: 99.83 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.3107, allocations: 211.4 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.3109, allocations: 41.67 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.3111, allocations: 95.56 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.3112, allocations: 95.59 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3113, allocations: 12 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.3114, allocations: 67.91 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.3115, allocations: 51.83 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.3116, allocations: 91.34 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.312, allocations: 267.3 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.312, allocations: 0 / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3121, allocations: 0 / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3121, allocations: 4 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001066/0.3131, allocations: 0.5294 MB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3132, allocations: 12.02 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.3133, allocations: 24.66 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.3137, allocations: 307.6 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.3137, allocations: 4.375 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3138, allocations: 11.94 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.314, allocations: 89.64 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.314, allocations: 4 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.314, allocations: 0 / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.314, allocations: 4 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3141, allocations: 35.98 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.3148, allocations: 424.5 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.3151, allocations: 74.67 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.3152, allocations: 32.78 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3152, allocations: 0 / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.3154, allocations: 87.36 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3154, allocations: 0 / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003404/0.3157, allocations: 133.3 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3158, allocations: 51.41 kB / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.3162, allocations: 362.8 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.3162, allocations: 33.7 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3163, allocations: 140 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.3163, allocations: 19.8 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.3164, allocations: 45.7 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3166, allocations: 330.8 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.3167, allocations: 59.97 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3168, allocations: 73.69 kB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.317, allocations: 89.7 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.317, allocations: 4 kB / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003035/0.3173, allocations: 193.2 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3173, allocations: 8 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3173, allocations: 0 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3174, allocations: 3.938 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3175, allocations: 31.92 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3175, allocations: 0 / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.3176, allocations: 19.83 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.3176, allocations: 7.938 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001648/0.3178, allocations: 153.8 kB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3179, allocations: 23.72 kB / 0.7903 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.3179, allocations: 25.73 kB / 0.7903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3179, allocations: 7.938 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3179, allocations: 0 / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.318, allocations: 0 / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.3182, allocations: 237.6 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3182, allocations: 0 / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.3182, allocations: 11.94 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3182, allocations: 4 kB / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3183, allocations: 4 kB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3183, allocations: 3.938 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3183, allocations: 0 / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.3185, allocations: 133.1 kB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.3186, allocations: 100.9 kB / 0.7908 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.3186, allocations: 3.984 kB / 0.7908 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.3187, allocations: 19.92 kB / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.3188, allocations: 11.98 kB / 0.7908 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3188, allocations: 0 / 0.7908 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000225/0.319, allocations: 233.9 kB / 0.791 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.319, allocations: 0 / 0.791 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002542/0.3193, allocations: 35.91 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00107/0.3204, allocations: 429.3 kB / 0.7915 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000275/0.3206, allocations: 119.9 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3207, allocations: 0 / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-05/0.3208, allocations: 27.98 kB / 0.7916 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3211, allocations: 59.73 kB / 0.7917 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006054/0.3217, allocations: 415.4 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.3221, allocations: 0.7437 MB / 0.7928 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.794e-05/0.3222, allocations: 21.55 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.3222, allocations: 23.42 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3222, allocations: 4 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of Templates: time 0.005957/0.3282, allocations: 2.728 MB / 0.7955 GB, free: 0.7461 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)