Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 100.9 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.3 MB / 0.5495 GB, free: 17.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2784, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.005488/0.284, allocations: 2.465 MB / 0.7865 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4607/0.7447, allocations: 1.469 MB / 0.7879 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006345/0.7454, allocations: 9.844 kB / 0.7879 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007383/0.7462, allocations: 320 kB / 0.7882 GB, free: 45.83 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0006539/0.7469, allocations: 339.7 kB / 0.7885 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.7479, allocations: 373.6 kB / 0.7889 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006498/0.7485, allocations: 0.7004 MB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.7487, allocations: 87.42 kB / 0.7897 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.7491, allocations: 316.8 kB / 0.79 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.7494, allocations: 320.7 kB / 0.7903 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.7494, allocations: 31.66 kB / 0.7903 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.7496, allocations: 85 kB / 0.7904 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.7498, allocations: 194.4 kB / 0.7906 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.75, allocations: 274.9 kB / 0.7908 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.7506, allocations: 0.7301 MB / 0.7915 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7506, allocations: 1.219 kB / 0.7915 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7506, allocations: 0 / 0.7915 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.7507, allocations: 0 / 0.7915 GB, free: 45.43 MB / 0.6544 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.001312/0.752, allocations: 0.9973 MB / 0.7925 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.752, allocations: 10.31 kB / 0.7925 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.7521, allocations: 74.56 kB / 0.7926 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007443/0.7529, allocations: 0.628 MB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.7529, allocations: 11.06 kB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.753, allocations: 12.67 kB / 0.7932 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.7533, allocations: 201.8 kB / 0.7934 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.7533, allocations: 3.844 kB / 0.7934 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.7534, allocations: 5.938 kB / 0.7934 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.7534, allocations: 2.625 kB / 0.7934 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.7536, allocations: 102 kB / 0.7935 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.7547, allocations: 1.05 MB / 0.7946 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.7552, allocations: 276.9 kB / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.7554, allocations: 105.7 kB / 0.7949 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.7554, allocations: 9.219 kB / 0.7949 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.7558, allocations: 233.1 kB / 0.7952 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.7558, allocations: 3.188 kB / 0.7952 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.0008233/0.7567, allocations: 419.8 kB / 0.7956 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.7567, allocations: 160.6 kB / 0.7957 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.7578, allocations: 1.037 MB / 0.7967 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.7578, allocations: 40.3 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.758, allocations: 289.3 kB / 0.797 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.7581, allocations: 80.39 kB / 0.7971 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.7583, allocations: 143.8 kB / 0.7973 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.7584, allocations: 328.4 kB / 0.7976 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.7587, allocations: 213.7 kB / 0.7978 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.7592, allocations: 306.1 kB / 0.7981 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.7597, allocations: 407.1 kB / 0.7984 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7598, allocations: 3.672 kB / 0.7985 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001045/0.7608, allocations: 0.6729 MB / 0.7991 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.7608, allocations: 7.734 kB / 0.7991 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7609, allocations: 5.906 kB / 0.7991 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.7609, allocations: 5 kB / 0.7991 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.7613, allocations: 116 kB / 0.7992 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.7613, allocations: 11.8 kB / 0.7992 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.7616, allocations: 40.23 kB / 0.7993 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.7617, allocations: 24.23 kB / 0.7993 GB, free: 42.3 MB / 0.6544 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.0002863/0.762, allocations: 277.4 kB / 0.7996 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.7621, allocations: 78.89 kB / 0.7996 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.7622, allocations: 65.66 kB / 0.7997 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7622, allocations: 4.031 kB / 0.7997 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.7622, allocations: 5.375 kB / 0.7997 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.7622, allocations: 8.453 kB / 0.7997 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.7627, allocations: 462.2 kB / 0.8002 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7627, allocations: 3.984 kB / 0.8002 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.7628, allocations: 18.31 kB / 0.8002 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.7628, allocations: 2.812 kB / 0.8002 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.7629, allocations: 13.5 kB / 0.8002 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.7629, allocations: 3.625 kB / 0.8002 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7629, allocations: 2 kB / 0.8002 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.7635, allocations: 391.1 kB / 0.8006 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.7637, allocations: 162.7 kB / 0.8007 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.7638, allocations: 11.09 kB / 0.8008 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.7639, allocations: 22.17 kB / 0.8008 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.764, allocations: 28.81 kB / 0.8008 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.764, allocations: 10.94 kB / 0.8008 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008422/0.7649, allocations: 0.6055 MB / 0.8014 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7649, allocations: 3.938 kB / 0.8014 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005093/0.7654, allocations: 110.6 kB / 0.8015 GB, free: 41.14 MB / 0.6544 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.001389/0.7668, allocations: 489.5 kB / 0.802 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009587/0.7678, allocations: 417.3 kB / 0.8024 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7678, allocations: 0 / 0.8024 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.7681, allocations: 108.4 kB / 0.8025 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.7691, allocations: 221.8 kB / 0.8027 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.771, allocations: 1.146 MB / 0.8038 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.7715, allocations: 0.926 MB / 0.8047 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.7717, allocations: 61.47 kB / 0.8048 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.7717, allocations: 1.188 kB / 0.8048 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.02016/0.7919, allocations: 8.811 MB / 0.8134 GB, free: 38.56 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)