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.Less.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.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.623/1.623, allocations: 288.4 MB / 303.3 MB, free: 8.195 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.001155/0.001155, allocations: 184.5 kB / 372 MB, free: 10.28 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.695/1.695, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0009849/0.0009849, allocations: 96.83 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004275, allocations: 13.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2341, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002411/0.2366, allocations: 1.606 MB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2381, allocations: 0.9572 MB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.2383, allocations: 0 / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.2387, allocations: 103.7 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.239, allocations: 71.73 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.2393, allocations: 113.6 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.2396, allocations: 187.4 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2397, allocations: 42.02 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.2399, allocations: 75.62 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.24, allocations: 79.61 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.24, allocations: 4 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.2401, allocations: 51.97 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.2402, allocations: 43.83 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.2403, allocations: 57.58 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.2405, allocations: 207.8 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2405, allocations: 4 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2405, allocations: 0 / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2405, allocations: 0 / 0.9832 GB, free: 23.96 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007437/0.2413, allocations: 0.5099 MB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2413, allocations: 16.02 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.2414, allocations: 42.48 kB / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.2414, allocations: 27.67 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2418, allocations: 290.5 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2418, allocations: 4 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.2418, allocations: 12 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.242, allocations: 93.58 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2421, allocations: 0 / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2421, allocations: 11.98 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2421, allocations: 0 / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.2422, allocations: 55.83 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.2428, allocations: 456.5 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.2431, allocations: 78.66 kB / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.2431, allocations: 28.86 kB / 0.9847 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2432, allocations: 0 / 0.9847 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.2433, allocations: 79.31 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2433, allocations: 0 / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003016/0.2436, allocations: 129.4 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.2437, allocations: 59.34 kB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.244, allocations: 374.9 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.244, allocations: 25.7 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.2441, allocations: 140 kB / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.2441, allocations: 15.81 kB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.2441, allocations: 4 kB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.2442, allocations: 338.8 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2443, allocations: 59.88 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.2444, allocations: 78.88 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.2445, allocations: 59.92 kB / 0.986 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2445, allocations: 4 kB / 0.986 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002669/0.2448, allocations: 186.2 kB / 0.9862 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2448, allocations: 7.938 kB / 0.9862 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2448, allocations: 3.938 kB / 0.9862 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.2449, allocations: 4 kB / 0.9862 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.245, allocations: 19.98 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.245, allocations: 0 / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.2451, allocations: 23.95 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.2452, allocations: 8 kB / 0.9863 GB, free: 20.53 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,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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.0001258/0.2453, allocations: 157 kB / 0.9864 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.2453, allocations: 23.72 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.2454, allocations: 25.73 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2454, allocations: 0 / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2454, allocations: 4 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2454, allocations: 4 kB / 0.9865 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2455, allocations: 257.4 kB / 0.9867 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2456, allocations: 0 / 0.9867 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.2456, allocations: 7.984 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2456, allocations: 0 / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.2456, allocations: 0 / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2456, allocations: 0 / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2456, allocations: 4 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.2458, allocations: 136.8 kB / 0.9869 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.2459, allocations: 100.9 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.2459, allocations: 8 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.246, allocations: 11.98 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.2461, allocations: 11.92 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2461, allocations: 8 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001742/0.2463, allocations: 229.9 kB / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2463, allocations: 0 / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002259/0.2465, allocations: 51.84 kB / 0.9873 GB, free: 19.42 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,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.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.001101/0.2476, allocations: 0.978 MB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.2478, allocations: 111.3 kB / 0.9883 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2478, allocations: 4.062 kB / 0.9883 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.2479, allocations: 35.91 kB / 0.9884 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2482, allocations: 45 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2499, allocations: 1.42 MB / 0.9898 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2501, allocations: 0.7515 MB / 0.9905 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.135e-05/0.2502, allocations: 25.94 kB / 0.9906 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.2503, allocations: 75.34 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2503, allocations: 0 / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.2654, allocations: 4.951 MB / 0.9955 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001266/0.2655, allocations: 238.4 kB / 0.9957 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.153, allocations: 3.938 kB / 0.9957 GB, free: 10.95 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)