Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008367/0.0008367, allocations: 173.9 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006338/0.0006338, allocations: 80.27 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003012, allocations: 11.22 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.001831/0.1349, allocations: 2.202 MB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1363, allocations: 1.275 MB / 0.8996 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1364, allocations: 11.88 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.1368, allocations: 299.2 kB / 0.8999 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.1372, allocations: 306.9 kB / 0.9002 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.1377, allocations: 325.4 kB / 0.9005 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.138, allocations: 0.6231 MB / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1382, allocations: 69.05 kB / 0.9012 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1384, allocations: 262.7 kB / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1386, allocations: 286.7 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.1386, allocations: 12 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.85e-05/0.1387, allocations: 55.97 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1388, allocations: 167.3 kB / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1389, allocations: 234.3 kB / 0.9022 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.1393, allocations: 0.6653 MB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1393, allocations: 0 / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1393, allocations: 0 / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1393, allocations: 0 / 0.9028 GB, free: 61.27 MB / 0.6042 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.0008078/0.1401, allocations: 0.8477 MB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.1402, allocations: 16.02 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.1402, allocations: 42.75 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.1403, allocations: 75.98 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.1408, allocations: 0.5859 MB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1408, allocations: 16.34 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1408, allocations: 15.94 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.1411, allocations: 202.4 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1411, allocations: 3.938 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1411, allocations: 8 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1412, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.1413, allocations: 99.88 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.142, allocations: 1.02 MB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.1425, allocations: 285 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1426, allocations: 104.2 kB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1427, allocations: 4 kB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.143, allocations: 221.7 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.402e-06/0.143, allocations: 0 / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0006834/0.1437, allocations: 421.5 kB / 0.9067 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.1437, allocations: 174.1 kB / 0.9068 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007369/0.1445, allocations: 0.9849 MB / 0.9078 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1445, allocations: 41.69 kB / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.1446, allocations: 276.9 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.1447, allocations: 75.08 kB / 0.9082 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.1447, allocations: 69.67 kB / 0.9082 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.1448, allocations: 398.7 kB / 0.9086 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.1451, allocations: 205.2 kB / 0.9088 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.1454, allocations: 303 kB / 0.9091 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.1458, allocations: 415 kB / 0.9095 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1459, allocations: 3.938 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007601/0.1466, allocations: 0.6617 MB / 0.9101 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.1466, allocations: 4 kB / 0.9102 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1466, allocations: 4 kB / 0.9102 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1467, allocations: 4 kB / 0.9102 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.147, allocations: 120 kB / 0.9103 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.147, allocations: 7.938 kB / 0.9103 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.1472, allocations: 39.73 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.1473, allocations: 27.98 kB / 0.9103 GB, free: 53.16 MB / 0.6042 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 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.1475, allocations: 273.6 kB / 0.9106 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.1475, allocations: 75.05 kB / 0.9107 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.1476, allocations: 69.59 kB / 0.9107 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1476, allocations: 8 kB / 0.9108 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1476, allocations: 3.938 kB / 0.9108 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1477, allocations: 4 kB / 0.9108 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.1479, allocations: 453.2 kB / 0.9112 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1479, allocations: 0 / 0.9112 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.148, allocations: 19.94 kB / 0.9112 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.148, allocations: 4 kB / 0.9112 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.148, allocations: 11.98 kB / 0.9112 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.148, allocations: 192 / 0.9112 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.148, allocations: 11.94 kB / 0.9112 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.1485, allocations: 387.4 kB / 0.9116 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.1486, allocations: 152.2 kB / 0.9118 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.1486, allocations: 12 kB / 0.9118 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1488, allocations: 19.98 kB / 0.9118 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.1489, allocations: 23.91 kB / 0.9118 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1489, allocations: 19.98 kB / 0.9118 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004512/0.1493, allocations: 0.5693 MB / 0.9124 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1493, allocations: 4 kB / 0.9124 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003021/0.1497, allocations: 104 kB / 0.9125 GB, free: 50.86 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/0.151, allocations: 1.307 MB / 0.9138 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005281/0.1515, allocations: 404.1 kB / 0.9141 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1515, allocations: 0 / 0.9141 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.1517, allocations: 112.2 kB / 0.9143 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.1525, allocations: 200 kB / 0.9144 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/0.1577, allocations: 5.913 MB / 0.9202 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1579, allocations: 0.9208 MB / 0.9211 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00019/0.1581, allocations: 113 kB / 0.9212 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.1583, allocations: 227.3 kB / 0.9214 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1583, allocations: 0 / 0.9214 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3667/0.525, allocations: 12.08 MB / 0.9332 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/0.5252, allocations: 281.3 kB / 0.9335 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.84, allocations: 0 / 0.9335 GB, free: 29.34 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)