Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",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.791/1.791, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001109/0.001109, allocations: 191.7 kB / 371.8 MB, free: 10.29 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.565/1.565, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008244/0.0008244, allocations: 90.86 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004035, allocations: 12.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002429/0.2275, allocations: 2.034 MB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2293, allocations: 1.363 MB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.2295, allocations: 11.88 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.23, allocations: 287.2 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.2304, allocations: 279.2 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.231, allocations: 331.3 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.2314, allocations: 439.1 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.2316, allocations: 65.73 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.2319, allocations: 298.8 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.2321, allocations: 247 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2322, allocations: 12 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.2323, allocations: 59.86 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.2324, allocations: 171.4 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.729e-05/0.2325, allocations: 125.3 kB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.2329, allocations: 0.5808 MB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2329, allocations: 0 / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.233, allocations: 0 / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.233, allocations: 0 / 0.9856 GB, free: 21.32 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001161/0.2341, allocations: 0.9059 MB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2342, allocations: 8.031 kB / 0.9865 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.2342, allocations: 42.55 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.2343, allocations: 75.02 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007955/0.2351, allocations: 0.593 MB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2352, allocations: 15.94 kB / 0.9872 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.2352, allocations: 12 kB / 0.9872 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.2355, allocations: 194.9 kB / 0.9874 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2356, allocations: 7.875 kB / 0.9874 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.2356, allocations: 8 kB / 0.9874 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2356, allocations: 4 kB / 0.9874 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.2358, allocations: 99.83 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.2369, allocations: 1.052 MB / 0.9886 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.2374, allocations: 281.3 kB / 0.9888 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.2375, allocations: 8 kB / 0.9888 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.2378, allocations: 227.4 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.2378, allocations: 0 / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0007865/0.2386, allocations: 416.5 kB / 0.9894 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.2387, allocations: 174.1 kB / 0.9896 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000902/0.2396, allocations: 1.02 MB / 0.9906 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.2396, allocations: 37.7 kB / 0.9906 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.2398, allocations: 288.8 kB / 0.9909 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.2399, allocations: 79.08 kB / 0.991 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.24, allocations: 12 kB / 0.991 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.24, allocations: 330 kB / 0.9913 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.2404, allocations: 209.2 kB / 0.9915 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.2407, allocations: 299 kB / 0.9918 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.2411, allocations: 245.5 kB / 0.992 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2411, allocations: 0 / 0.992 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008909/0.242, allocations: 0.658 MB / 0.9927 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.242, allocations: 12.11 kB / 0.9927 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.242, allocations: 4 kB / 0.9927 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.242, allocations: 7.984 kB / 0.9927 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.2424, allocations: 119.8 kB / 0.9928 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2424, allocations: 4 kB / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.2427, allocations: 39.77 kB / 0.9929 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.2428, allocations: 27.98 kB / 0.9929 GB, free: 13.51 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002605/0.243, allocations: 278.8 kB / 0.9932 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.2431, allocations: 79 kB / 0.9932 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.2432, allocations: 77.83 kB / 0.9933 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2432, allocations: 4 kB / 0.9933 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2432, allocations: 0 / 0.9933 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2433, allocations: 4 kB / 0.9933 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.2436, allocations: 469.1 kB / 0.9938 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2436, allocations: 0 / 0.9938 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.2437, allocations: 23.98 kB / 0.9938 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2437, allocations: 4 kB / 0.9938 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2437, allocations: 11.98 kB / 0.9938 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2437, allocations: 3.953 kB / 0.9938 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.2438, allocations: 11.88 kB / 0.9938 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.2443, allocations: 434.3 kB / 0.9942 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.2445, allocations: 164.1 kB / 0.9944 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.2446, allocations: 11.98 kB / 0.9944 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.2448, allocations: 19.98 kB / 0.9944 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.2448, allocations: 31.86 kB / 0.9944 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.2449, allocations: 15.98 kB / 0.9945 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005933/0.2455, allocations: 0.6005 MB / 0.995 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2455, allocations: 0 / 0.995 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003832/0.2459, allocations: 112 kB / 0.9952 GB, free: 11.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001709/0.2476, allocations: 1.627 MB / 0.9967 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006813/0.2483, allocations: 400 kB / 0.9971 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2483, allocations: 0 / 0.9971 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.2485, allocations: 107.8 kB / 0.9972 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.2492, allocations: 191.5 kB / 0.9974 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.2511, allocations: 2.964 MB / 1 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2514, allocations: 0.9406 MB / 1.001 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002459/0.2517, allocations: 117.5 kB / 1.001 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.2519, allocations: 240.5 kB / 1.002 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.252, allocations: 0 / 1.002 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.281, allocations: 13.26 MB / 1.015 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.2813, allocations: 263.7 kB / 1.015 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/2.798, allocations: 4 kB / 1.015 GB, free: 7.039 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)