Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.299/2.299, allocations: 391.2 MB / 407 MB, free: 10.85 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.001316/0.001316, allocations: 189.6 kB / 499.1 MB, free: 4.691 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.605/1.605, allocations: 222.9 MB / 0.7948 GB, free: 15.86 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.001035/0.001035, allocations: 117.8 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 55.45 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3062, 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.GreaterThreshold): time 0.003868/0.3102, allocations: 2.016 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.312, allocations: 1.088 MB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.3122, allocations: 3.938 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.3127, allocations: 107.7 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.3129, allocations: 87.7 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.3133, allocations: 131.8 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3135, allocations: 211.4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3137, allocations: 45.67 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3138, allocations: 87.5 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3139, allocations: 99.58 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.314, allocations: 8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3141, allocations: 55.98 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.3142, allocations: 55.75 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.3142, allocations: 79.41 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.3145, allocations: 281.2 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3146, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3146, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3146, allocations: 0 / 1.222 GB, free: 112.9 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008633/0.3154, allocations: 0.5449 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3155, allocations: 11.98 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.3155, allocations: 24.66 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.3159, allocations: 307.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3159, allocations: 4.375 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3159, allocations: 11.94 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3161, allocations: 95.97 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3162, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3162, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3162, allocations: 8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.3163, allocations: 51.91 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.317, allocations: 444.5 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3172, allocations: 94.58 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.3172, allocations: 28.89 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3173, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.3174, allocations: 95.23 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3175, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003758/0.3178, allocations: 157.2 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.3179, allocations: 51.41 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.3182, allocations: 366.9 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.3182, allocations: 25.7 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.3183, allocations: 144.3 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.3183, allocations: 27.88 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.3184, allocations: 41.61 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.3184, allocations: 338.8 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3185, allocations: 63.97 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3187, allocations: 79.19 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3188, allocations: 116.3 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3188, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002717/0.3191, allocations: 201.3 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3191, allocations: 8.031 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3191, allocations: 3.984 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3192, allocations: 7.938 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3193, allocations: 27.92 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3193, allocations: 0 / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.3194, allocations: 15.98 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.3195, allocations: 4.312 kB / 1.226 GB, free: 109.3 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 (19): * Single equations (assignments): 19 * 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.0001035/0.3196, allocations: 155.5 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3196, allocations: 27.7 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.3197, allocations: 29.69 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3197, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3197, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3197, allocations: 3.984 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3198, allocations: 257.5 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3199, allocations: 0 / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.3199, allocations: 7.984 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3199, allocations: 0 / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3199, allocations: 3.938 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3199, allocations: 4 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3199, allocations: 4 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.3204, allocations: 0.764 MB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.3204, allocations: 108.8 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.3205, allocations: 3.984 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.3206, allocations: 15.98 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.3207, allocations: 11.98 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3207, allocations: 4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001704/0.3208, allocations: 233.9 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3208, allocations: 3.938 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003364/0.3212, allocations: 36 kB / 1.227 GB, free: 107.5 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 (8): * Single equations (assignments): 6 * 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.0009673/0.3222, allocations: 424.8 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.3224, allocations: 117.8 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3224, allocations: 0 / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.3225, allocations: 43.92 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3228, allocations: 46.48 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.3235, allocations: 0.559 MB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.3237, allocations: 0.744 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.03e-05/0.3237, allocations: 38.08 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.3238, allocations: 23.42 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3238, allocations: 0 / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of Templates: time 0.005328/0.3291, allocations: 2.967 MB / 1.232 GB, free: 102.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)