Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.268/2.268, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 200.6 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 222.9 MB / 0.7948 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 113.9 kB / 0.9329 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001089, allocations: 51.67 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.312, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003968/0.316, allocations: 2.063 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3179, allocations: 1.147 MB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.3181, allocations: 7.938 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.3185, allocations: 99.67 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.3188, allocations: 91.64 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.3191, allocations: 151.3 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.3194, allocations: 239.4 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3195, allocations: 76.23 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.3197, allocations: 95.56 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3198, allocations: 123.4 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.3198, allocations: 8 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.32, allocations: 59.97 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.32, allocations: 59.81 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.436e-05/0.3201, allocations: 95.34 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3204, allocations: 313 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3204, allocations: 0 / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3204, allocations: 4 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3204, allocations: 0 / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008791/0.3213, allocations: 0.5762 MB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3214, allocations: 15.98 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.3214, allocations: 24.66 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.3218, allocations: 315.8 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3218, allocations: 11.94 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3218, allocations: 12 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.3221, allocations: 122.5 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3221, allocations: 0 / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3221, allocations: 4 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3221, allocations: 8 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.3224, allocations: 95.86 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.3231, allocations: 0.4924 MB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.3234, allocations: 130.6 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3236, allocations: 60.83 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3236, allocations: 3.938 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.3239, allocations: 107.5 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.3239, allocations: 0 / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0005378/0.3244, allocations: 213.2 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3245, allocations: 51.41 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.3247, allocations: 374.9 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3248, allocations: 29.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.3249, allocations: 148 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.3249, allocations: 35.53 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.325, allocations: 41.7 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.325, allocations: 338.8 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.3252, allocations: 83.95 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.3254, allocations: 99.16 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.3257, allocations: 146.9 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3257, allocations: 4 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004238/0.3261, allocations: 243.1 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3262, allocations: 8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3262, allocations: 0 / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3262, allocations: 384 / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.3264, allocations: 35.97 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3264, allocations: 4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3265, allocations: 19.92 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3266, allocations: 15.94 kB / 1.226 GB, free: 108.6 MB / 0.823 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 (21): * Single equations (assignments): 21 * 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.0001194/0.3267, allocations: 167.3 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3267, allocations: 19.72 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.3268, allocations: 29.78 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3268, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3268, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3268, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.327, allocations: 281.4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.327, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.459e-05/0.3271, allocations: 11.98 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3271, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3272, allocations: 7.984 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3272, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3272, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.3278, allocations: 0.838 MB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.3279, allocations: 100.8 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.3279, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3281, allocations: 19.97 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.3282, allocations: 19.91 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3282, allocations: 8 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001696/0.3283, allocations: 233.9 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3284, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000339/0.3287, allocations: 47.91 kB / 1.228 GB, free: 106.7 MB / 0.823 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 (10): * Single equations (assignments): 8 * 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.0009281/0.3296, allocations: 423.7 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.33, allocations: 163.8 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.33, allocations: 0 / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3302, allocations: 51.97 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.3305, allocations: 61.72 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.3313, allocations: 0.6026 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.3314, allocations: 0.7596 MB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001/0.3315, allocations: 33.88 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.3316, allocations: 19.44 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.3316, allocations: 0 / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of Templates: time 0.005687/0.3373, allocations: 3.346 MB / 1.233 GB, free: 101.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)