Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001002/0.001002, allocations: 185.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007631/0.0007634, allocations: 86.36 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 13.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2522, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002079/0.2544, allocations: 1.587 MB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2557, allocations: 0.9572 MB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.2558, allocations: 7.938 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.2562, allocations: 95.69 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.2564, allocations: 75.72 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.2567, allocations: 105.1 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.2569, allocations: 167.5 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.257, allocations: 33.66 kB / 0.9826 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.2571, allocations: 71.64 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2572, allocations: 79.61 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.2573, allocations: 4 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.2574, allocations: 55.95 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.2575, allocations: 39.83 kB / 0.9829 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.2575, allocations: 65.52 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.2577, allocations: 203.8 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2578, allocations: 4 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2578, allocations: 0 / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2578, allocations: 0 / 0.9831 GB, free: 23.99 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.0007502/0.2585, allocations: 0.5032 MB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.2586, allocations: 12.02 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.2586, allocations: 46.55 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.2587, allocations: 27.67 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.2591, allocations: 298.4 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.2591, allocations: 4 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.2591, allocations: 4 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.2593, allocations: 80.16 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2593, allocations: 0 / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2594, allocations: 4 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2594, allocations: 0 / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2595, allocations: 47.86 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.2601, allocations: 424.6 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.2604, allocations: 90.55 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.2605, allocations: 24.86 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.2605, allocations: 0 / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.2607, allocations: 83.36 kB / 0.9847 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.2607, allocations: 0 / 0.9847 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003834/0.2611, allocations: 145.2 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.2611, allocations: 51.41 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.2615, allocations: 358.9 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2615, allocations: 33.69 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.2616, allocations: 136 kB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.2616, allocations: 19.8 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.2616, allocations: 0 / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.2617, allocations: 338.8 kB / 0.9857 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.29e-05/0.2618, allocations: 55.98 kB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.883e-05/0.2619, allocations: 77.67 kB / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.436e-05/0.262, allocations: 52 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.262, allocations: 0 / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002566/0.2623, allocations: 199.7 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2623, allocations: 7.938 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2623, allocations: 3.984 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2624, allocations: 8.031 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.2625, allocations: 23.98 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.2625, allocations: 7.938 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2626, allocations: 11.91 kB / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.2626, allocations: 11.98 kB / 0.9862 GB, free: 20.62 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.0001146/0.2627, allocations: 151.3 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.2628, allocations: 19.77 kB / 0.9863 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.2628, allocations: 33.73 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.2628, allocations: 0 / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2629, allocations: 0 / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2629, allocations: 0 / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.263, allocations: 249.5 kB / 0.9866 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.263, allocations: 0 / 0.9866 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.2631, allocations: 4 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2631, allocations: 3.953 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2631, allocations: 0 / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2631, allocations: 0 / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2631, allocations: 3.938 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.2633, allocations: 144.9 kB / 0.9868 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.2633, allocations: 96.83 kB / 0.9868 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.2634, allocations: 7.953 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.2635, allocations: 11.98 kB / 0.9869 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.2635, allocations: 15.97 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.2635, allocations: 4 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001718/0.2637, allocations: 225.9 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2637, allocations: 4 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002305/0.264, allocations: 44.02 kB / 0.9871 GB, free: 19.53 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.001251/0.2652, allocations: 0.9874 MB / 0.9881 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.2655, allocations: 99.89 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2655, allocations: 4 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.2656, allocations: 31.98 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.2659, allocations: 44.75 kB / 0.9883 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.2677, allocations: 1.396 MB / 0.9896 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.2679, allocations: 0.7515 MB / 0.9904 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.549e-05/0.2679, allocations: 37.61 kB / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.268, allocations: 71.41 kB / 0.9905 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2681, allocations: 0 / 0.9905 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.2834, allocations: 4.891 MB / 0.9953 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.2836, allocations: 264.6 kB / 0.9955 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.234, allocations: 3.938 kB / 0.9955 GB, free: 11.05 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)