Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.732/2.732, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001542/0.001542, allocations: 184.7 kB / 370.8 MB, free: 10.87 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.159/2.159, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001091/0.001091, allocations: 93.61 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006705/0.0006708, allocations: 14.16 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2302, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002657/0.2329, allocations: 1.591 MB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.2351, allocations: 0.934 MB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.2353, allocations: 7.938 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.2357, allocations: 87.69 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.2361, allocations: 83.75 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.2365, allocations: 108.8 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.2368, allocations: 135.6 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.237, allocations: 25.67 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.2371, allocations: 79.67 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2373, allocations: 71.69 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.2373, allocations: 8 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.2375, allocations: 35.97 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.2376, allocations: 51.81 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.2377, allocations: 53.58 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.238, allocations: 215.7 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.238, allocations: 0 / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.238, allocations: 0 / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.238, allocations: 0 / 0.9817 GB, free: 24.79 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.000873/0.2389, allocations: 0.5022 MB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2389, allocations: 19.95 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.239, allocations: 34.5 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.2391, allocations: 27.67 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.2395, allocations: 294.4 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2396, allocations: 4 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.2396, allocations: 8 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.2399, allocations: 86.66 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2399, allocations: 0 / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.2399, allocations: 4 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2399, allocations: 3.953 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2401, allocations: 47.91 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008364/0.241, allocations: 420.6 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.2413, allocations: 90.59 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.2414, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.2416, allocations: 83.48 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.364e-06/0.2416, allocations: 0 / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000457/0.2421, allocations: 129.3 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.2421, allocations: 51.41 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.2427, allocations: 362.9 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2427, allocations: 29.7 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2428, allocations: 140 kB / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.2429, allocations: 23.8 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.2429, allocations: 4 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.243, allocations: 334.8 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.2432, allocations: 55.97 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2434, allocations: 73.69 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.2436, allocations: 55.98 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2436, allocations: 0 / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000561/0.2442, allocations: 202.7 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.2442, allocations: 11.94 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2442, allocations: 0 / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.2442, allocations: 0 / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.2445, allocations: 31.86 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2445, allocations: 0 / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.2447, allocations: 19.89 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.2447, allocations: 8 kB / 0.9847 GB, free: 21.45 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.0001896/0.2449, allocations: 153.8 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.245, allocations: 23.77 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.2451, allocations: 25.73 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2451, allocations: 0 / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2451, allocations: 0 / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2451, allocations: 7.984 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.2454, allocations: 237.5 kB / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2454, allocations: 0 / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.2454, allocations: 7.938 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2454, allocations: 7.953 kB / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2455, allocations: 7.984 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2455, allocations: 0 / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2455, allocations: 0 / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.2458, allocations: 128.9 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.2459, allocations: 104.8 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.246, allocations: 7.953 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2461, allocations: 15.98 kB / 0.9854 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.2462, allocations: 11.98 kB / 0.9854 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.2462, allocations: 8 kB / 0.9854 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002917/0.2465, allocations: 229.9 kB / 0.9857 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2466, allocations: 0 / 0.9857 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003779/0.2469, allocations: 35.91 kB / 0.9857 GB, free: 20.36 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.001661/0.2486, allocations: 0.9884 MB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.249, allocations: 103.9 kB / 0.9868 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2491, allocations: 0 / 0.9868 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.2492, allocations: 28 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.2497, allocations: 58.09 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2508, allocations: 0.7937 MB / 0.9876 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.251, allocations: 0.7518 MB / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.2512, allocations: 37.66 kB / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.2514, allocations: 63.42 kB / 0.9884 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2.294e-06/0.2514, allocations: 0 / 0.9884 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.2784, allocations: 4.77 MB / 0.9931 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.2788, allocations: 241.1 kB / 0.9933 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.032, allocations: 0 / 0.9933 GB, free: 12.75 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)