Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.726/2.726, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 174.4 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.266/2.266, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 95.44 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005259, allocations: 14.88 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.234, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002582/0.2367, allocations: 1.587 MB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2388, allocations: 0.9534 MB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.239, allocations: 0 / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.2395, allocations: 99.69 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.2398, allocations: 87.64 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.2403, allocations: 97.06 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.2406, allocations: 167.5 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2408, allocations: 41.62 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.2409, allocations: 71.64 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2411, allocations: 79.61 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.2411, allocations: 4 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2414, allocations: 43.98 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.2414, allocations: 47.81 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.2415, allocations: 53.58 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.2419, allocations: 219.7 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2419, allocations: 0 / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2419, allocations: 4 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2419, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 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.0009095/0.2428, allocations: 0.4982 MB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2429, allocations: 19.95 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.2429, allocations: 34.56 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.243, allocations: 31.66 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.2435, allocations: 290.4 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.2436, allocations: 4 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.2436, allocations: 4 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.2438, allocations: 82.52 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2439, allocations: 0 / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.2439, allocations: 11.94 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2439, allocations: 3.953 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.2441, allocations: 35.98 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008505/0.2449, allocations: 428.6 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.2453, allocations: 86.61 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.2454, allocations: 28.84 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.2454, allocations: 0 / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.2457, allocations: 75.38 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.2457, allocations: 4 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004617/0.2462, allocations: 129.3 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.2462, allocations: 59.41 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.2467, allocations: 358.9 kB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2467, allocations: 29.64 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.2468, allocations: 147.9 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.2469, allocations: 19.8 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.2469, allocations: 0 / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.247, allocations: 338.8 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2472, allocations: 51.98 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.2474, allocations: 80.03 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.2476, allocations: 54.09 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2476, allocations: 3.953 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004688/0.2481, allocations: 193.2 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.2481, allocations: 4 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2481, allocations: 0 / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2482, allocations: 3.938 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.2484, allocations: 35.95 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2484, allocations: 0 / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.2486, allocations: 23.89 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.2486, allocations: 8 kB / 0.985 GB, free: 21.31 MB / 0.6198 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 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.2488, allocations: 153.8 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.2489, allocations: 19.77 kB / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.249, allocations: 21.75 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.249, allocations: 11.98 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.249, allocations: 3.984 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.249, allocations: 0 / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.2492, allocations: 241.5 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2493, allocations: 0 / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.2493, allocations: 15.88 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2493, allocations: 0 / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2493, allocations: 4 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2494, allocations: 0 / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2494, allocations: 0 / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.2497, allocations: 136.9 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.2498, allocations: 100.8 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.2498, allocations: 7.953 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.25, allocations: 11.98 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.2501, allocations: 7.984 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.2501, allocations: 4 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002944/0.2504, allocations: 233.9 kB / 0.9859 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.11e-07/0.2504, allocations: 0 / 0.9859 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003465/0.2508, allocations: 40.03 kB / 0.9859 GB, free: 20.22 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.2525, allocations: 0.9888 MB / 0.9869 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.2529, allocations: 103.9 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.253, allocations: 4 kB / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.2531, allocations: 35.97 kB / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.2536, allocations: 46.12 kB / 0.9871 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.2565, allocations: 1.392 MB / 0.9884 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.2568, allocations: 0.7476 MB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.257, allocations: 29.53 kB / 0.9892 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.2572, allocations: 71.41 kB / 0.9893 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/0.2572, allocations: 3.938 kB / 0.9893 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.2844, allocations: 4.909 MB / 0.9941 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000287/0.2848, allocations: 254 kB / 0.9943 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/3.135, allocations: 4 kB / 0.9943 GB, free: 11.86 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)