Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, 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.001159/0.001159, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.4/1.4, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.705/1.705, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.0015/0.0015, allocations: 78 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2479, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.00337/0.2514, allocations: 1.946 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.253, allocations: 1.031 MB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2531, allocations: 4 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.2535, allocations: 103.5 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.2538, allocations: 103.6 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.2542, allocations: 130.7 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.2545, allocations: 207.5 kB / 0.7869 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.2547, allocations: 69.81 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2548, allocations: 87.62 kB / 0.7871 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.255, allocations: 103.5 kB / 0.7872 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.255, allocations: 8 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.2551, allocations: 67.97 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/0.2552, allocations: 63.81 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.842e-05/0.2553, allocations: 87.36 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.2557, allocations: 279.3 kB / 0.7877 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2557, allocations: 4 kB / 0.7877 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2557, allocations: 0 / 0.7877 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2557, allocations: 0 / 0.7877 GB, free: 9.082 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008565/0.2566, allocations: 0.5294 MB / 0.7882 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2566, allocations: 8.031 kB / 0.7882 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.2567, allocations: 42.73 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.2567, allocations: 28.59 kB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.2572, allocations: 307.7 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2572, allocations: 12.12 kB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.2572, allocations: 7.984 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.2574, allocations: 90.59 kB / 0.7887 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2574, allocations: 0 / 0.7887 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.2575, allocations: 4 kB / 0.7887 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2575, allocations: 4 kB / 0.7887 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.2576, allocations: 47.97 kB / 0.7887 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.2583, allocations: 452.4 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.2585, allocations: 86.59 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.2586, allocations: 24.86 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.2586, allocations: 3.984 kB / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.2588, allocations: 79.33 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.2588, allocations: 0 / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003213/0.2591, allocations: 129.3 kB / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.2592, allocations: 59.41 kB / 0.7895 GB, free: 7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.2596, allocations: 370.9 kB / 0.7899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2596, allocations: 33.7 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2597, allocations: 136 kB / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.2597, allocations: 15.81 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-05/0.2598, allocations: 41.61 kB / 0.7901 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.26, allocations: 338.8 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2601, allocations: 55.97 kB / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2602, allocations: 84.28 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2604, allocations: 92.73 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2604, allocations: 0 / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003066/0.2607, allocations: 193.3 kB / 0.7908 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2607, allocations: 7.984 kB / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2607, allocations: 0 / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2608, allocations: 4 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2609, allocations: 23.97 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2609, allocations: 7.984 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.261, allocations: 7.938 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.2611, allocations: 19.94 kB / 0.7909 GB, free: 5.547 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.0001982/0.2613, allocations: 148.2 kB / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.2613, allocations: 35.59 kB / 0.791 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/0.2614, allocations: 21.73 kB / 0.7911 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2614, allocations: 4 kB / 0.7911 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2614, allocations: 4 kB / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2614, allocations: 0 / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2617, allocations: 253.4 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2617, allocations: 7.875 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.2617, allocations: 4 kB / 0.7913 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2617, allocations: 0 / 0.7913 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2617, allocations: 4 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2617, allocations: 0 / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2618, allocations: 0 / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.262, allocations: 140.8 kB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.2621, allocations: 96.86 kB / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.2621, allocations: 4 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.2622, allocations: 11.98 kB / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.2623, allocations: 11.92 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2623, allocations: 4 kB / 0.7916 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002188/0.2625, allocations: 237.9 kB / 0.7918 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2625, allocations: 0 / 0.7918 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002537/0.2628, allocations: 43.84 kB / 0.7919 GB, free: 4.445 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.001396/0.2642, allocations: 0.9857 MB / 0.7928 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.2644, allocations: 111.9 kB / 0.7929 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2645, allocations: 8.062 kB / 0.7929 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.2645, allocations: 35.91 kB / 0.793 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2649, allocations: 51.19 kB / 0.793 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.2674, allocations: 2.343 MB / 0.7953 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.2677, allocations: 0.7437 MB / 0.796 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.362e-05/0.2678, allocations: 29.94 kB / 0.7961 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2679, allocations: 75.41 kB / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2679, allocations: 0 / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.2901, allocations: 5.131 MB / 0.8011 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.153, allocations: 21.14 kB / 0.8012 GB, free: 11.04 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)