Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.656/2.656, allocations: 287.5 MB / 302.4 MB, free: 8.211 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.002068/0.002068, allocations: 174.8 kB / 371 MB, free: 10.89 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.158/2.158, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009413/0.000941, allocations: 89.53 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.0005258, allocations: 13.62 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2339, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002601/0.2366, allocations: 1.618 MB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.2387, allocations: 0.9574 MB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.239, allocations: 0 / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.2395, allocations: 103.7 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.2398, allocations: 75.73 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.2403, allocations: 108.4 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.2407, allocations: 183.5 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.2409, allocations: 46.02 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.2411, allocations: 71.62 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.2412, allocations: 75.62 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.2413, allocations: 7.984 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.2415, allocations: 51.97 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.2416, allocations: 43.83 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.2417, allocations: 57.58 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.242, allocations: 207.8 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2421, allocations: 8 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.066e-06/0.2421, allocations: 3.984 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.2421, allocations: 0 / 0.982 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009303/0.243, allocations: 0.5021 MB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.2431, allocations: 16.02 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.2432, allocations: 42.48 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.2432, allocations: 31.67 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.2437, allocations: 286.5 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2438, allocations: 8 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.2438, allocations: 11.98 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.2441, allocations: 88 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2441, allocations: 3.938 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.2441, allocations: 4 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2442, allocations: 3.953 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.2443, allocations: 51.88 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.2452, allocations: 456.5 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.2456, allocations: 86.66 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.2457, allocations: 24.84 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.2457, allocations: 4 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.246, allocations: 75.33 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.246, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004793/0.2465, allocations: 133.4 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.2465, allocations: 55.41 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.247, allocations: 370.9 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2471, allocations: 29.64 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2472, allocations: 140 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.2472, allocations: 19.75 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.2472, allocations: 0 / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.2474, allocations: 342.8 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2475, allocations: 63.88 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2477, allocations: 77.62 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.2479, allocations: 57.75 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2479, allocations: 4 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005188/0.2484, allocations: 181.4 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2485, allocations: 4 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2485, allocations: 0 / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2485, allocations: 8.031 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.2487, allocations: 27.92 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2487, allocations: 0 / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.249, allocations: 23.91 kB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.249, allocations: 4 kB / 0.9851 GB, free: 21.25 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.0001846/0.2492, allocations: 159 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.2492, allocations: 19.72 kB / 0.9853 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.2493, allocations: 33.73 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2493, allocations: 0 / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2494, allocations: 0 / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2494, allocations: 0 / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.2496, allocations: 257.4 kB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2496, allocations: 4 kB / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.2497, allocations: 7.984 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2497, allocations: 0 / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2497, allocations: 0 / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2497, allocations: 0 / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2497, allocations: 4 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.2501, allocations: 132.8 kB / 0.9857 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.2501, allocations: 104.8 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.2502, allocations: 8 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.2504, allocations: 11.98 kB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.2504, allocations: 7.984 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.2505, allocations: 7.984 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002983/0.2508, allocations: 229.9 kB / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.004e-06/0.2508, allocations: 0 / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003574/0.2512, allocations: 55.77 kB / 0.9861 GB, free: 20.13 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.001686/0.2529, allocations: 0.9813 MB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.2533, allocations: 103.9 kB / 0.9871 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2533, allocations: 4 kB / 0.9871 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.2534, allocations: 31.91 kB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.254, allocations: 52.94 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.2568, allocations: 1.421 MB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2571, allocations: 0.7515 MB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.2573, allocations: 29.92 kB / 0.9894 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2574, allocations: 67.41 kB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2575, allocations: 0 / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.2922, allocations: 4.948 MB / 0.9943 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.2925, allocations: 230.5 kB / 0.9945 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/3.106, allocations: 0 / 0.9945 GB, free: 11.71 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)