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.001257/0.001257, allocations: 105.4 kB / 15.7 MB, free: 24 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.00136/0.00136, allocations: 198.6 kB / 16.64 MB, free: 6.445 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.487/1.487, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.713/1.713, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001497/0.001498, allocations: 74.91 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2315, allocations: 114.5 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003936/0.2355, allocations: 1.957 MB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.2375, allocations: 1.031 MB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2377, allocations: 8 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.2382, allocations: 99.56 kB / 0.7867 GB, free: 10.11 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.0003358/0.2386, allocations: 99.56 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.239, allocations: 131.5 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.2393, allocations: 203.5 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2394, allocations: 69.81 kB / 0.7872 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2396, allocations: 87.67 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.2397, allocations: 99.55 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.2398, allocations: 12 kB / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.2399, allocations: 63.97 kB / 0.7874 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.24, allocations: 55.83 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.2401, allocations: 91.41 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.2404, allocations: 287.2 kB / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2404, allocations: 0 / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2404, allocations: 3.938 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2404, allocations: 0 / 0.7878 GB, free: 8.934 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.0008943/0.2413, allocations: 0.5333 MB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.2414, allocations: 8.031 kB / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.2414, allocations: 42.73 kB / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.2415, allocations: 24.66 kB / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.242, allocations: 303.7 kB / 0.7887 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.242, allocations: 8.125 kB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.242, allocations: 12 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.2422, allocations: 93.64 kB / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2422, allocations: 0 / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.2423, allocations: 4 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2423, allocations: 3.938 kB / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2424, allocations: 58.41 kB / 0.7889 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.2431, allocations: 456.4 kB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.2433, allocations: 78.59 kB / 0.7894 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.2434, allocations: 24.86 kB / 0.7894 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2434, allocations: 4 kB / 0.7894 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.2436, allocations: 79.31 kB / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2436, allocations: 0 / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003255/0.2439, allocations: 141.3 kB / 0.7896 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.244, allocations: 55.41 kB / 0.7897 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.2443, allocations: 370.9 kB / 0.79 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2444, allocations: 25.7 kB / 0.7901 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.2445, allocations: 140 kB / 0.7902 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.2445, allocations: 19.8 kB / 0.7902 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.2446, allocations: 49.61 kB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2447, allocations: 338.8 kB / 0.7906 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.2448, allocations: 55.97 kB / 0.7906 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2449, allocations: 77.62 kB / 0.7907 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.2451, allocations: 92.17 kB / 0.7908 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2451, allocations: 0 / 0.7908 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002914/0.2454, allocations: 201.2 kB / 0.791 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2454, allocations: 4 kB / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2454, allocations: 0 / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2454, allocations: 4 kB / 0.791 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2455, allocations: 19.98 kB / 0.791 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2456, allocations: 0 / 0.791 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2457, allocations: 15.92 kB / 0.791 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2457, allocations: 8 kB / 0.791 GB, free: 5.395 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.0001391/0.2459, allocations: 160.2 kB / 0.7912 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.2459, allocations: 27.66 kB / 0.7912 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.246, allocations: 29.73 kB / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.246, allocations: 0 / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.246, allocations: 0 / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.246, allocations: 0 / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.2462, allocations: 253.5 kB / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2462, allocations: 7.875 kB / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.2462, allocations: 4 kB / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2462, allocations: 0 / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2463, allocations: 8 kB / 0.7915 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2463, allocations: 0 / 0.7915 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2463, allocations: 0 / 0.7915 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.2465, allocations: 136.8 kB / 0.7916 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.2466, allocations: 100.9 kB / 0.7917 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.2466, allocations: 4 kB / 0.7917 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.2467, allocations: 7.984 kB / 0.7917 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.2467, allocations: 15.98 kB / 0.7918 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2467, allocations: 0 / 0.7918 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002013/0.247, allocations: 233.9 kB / 0.792 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.247, allocations: 0 / 0.792 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002479/0.2472, allocations: 47.84 kB / 0.792 GB, free: 4.289 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.001275/0.2485, allocations: 0.9873 MB / 0.793 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.2487, allocations: 103.9 kB / 0.7931 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2488, allocations: 7.938 kB / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.2489, allocations: 31.94 kB / 0.7931 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2492, allocations: 59.61 kB / 0.7932 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.2516, allocations: 2.35 MB / 0.7955 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.2519, allocations: 0.7476 MB / 0.7962 GB, free: 20 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.252, allocations: 37.92 kB / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2521, allocations: 63.42 kB / 0.7963 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.2521, allocations: 0 / 0.7963 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.2736, allocations: 5.151 MB / 0.8013 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.407, allocations: 9.375 kB / 0.8013 GB, free: 10.89 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)