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.001415/0.001415, allocations: 104.3 kB / 16.29 MB, free: 6.43 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.0015/0.0015, allocations: 184 kB / 17.22 MB, free: 5.934 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.65/1.65, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.978/1.978, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001494/0.001494, allocations: 67.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2716, allocations: 114.5 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004205/0.2759, allocations: 2.461 MB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5134/0.7893, allocations: 1.471 MB / 0.7879 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005058/0.7899, allocations: 11.56 kB / 0.788 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.7906, allocations: 326.7 kB / 0.7883 GB, free: 45.91 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.0007367/0.7914, allocations: 328 kB / 0.7886 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.7924, allocations: 382.6 kB / 0.7889 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007466/0.7931, allocations: 0.7033 MB / 0.7896 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.7934, allocations: 80.92 kB / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.7937, allocations: 317.1 kB / 0.79 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.7941, allocations: 325.1 kB / 0.7903 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.7941, allocations: 31.5 kB / 0.7903 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.7944, allocations: 95.19 kB / 0.7904 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.7946, allocations: 185 kB / 0.7906 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.7948, allocations: 272.2 kB / 0.7909 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.7954, allocations: 0.738 MB / 0.7916 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7954, allocations: 2.625 kB / 0.7916 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7955, allocations: 0 / 0.7916 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.7955, allocations: 4.328 kB / 0.7916 GB, free: 45.52 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.001404/0.7969, allocations: 1 MB / 0.7926 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.7969, allocations: 10.41 kB / 0.7926 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.7971, allocations: 71.34 kB / 0.7927 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.7978, allocations: 0.6227 MB / 0.7933 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.7979, allocations: 14.84 kB / 0.7933 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.7979, allocations: 13.66 kB / 0.7933 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.7983, allocations: 200.2 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.7983, allocations: 1.375 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.7983, allocations: 11.3 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.7983, allocations: 0.5312 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.7985, allocations: 105 kB / 0.7936 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.7997, allocations: 1.053 MB / 0.7946 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.8003, allocations: 273.2 kB / 0.7949 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.8005, allocations: 107.1 kB / 0.795 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.8005, allocations: 11.36 kB / 0.795 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/0.801, allocations: 229.1 kB / 0.7952 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.903e-06/0.801, allocations: 3.438 kB / 0.7952 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001029/0.802, allocations: 420 kB / 0.7956 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.8021, allocations: 163.1 kB / 0.7958 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.8036, allocations: 1.038 MB / 0.7968 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.8036, allocations: 34.98 kB / 0.7968 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.8039, allocations: 290.4 kB / 0.7971 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.8039, allocations: 79.59 kB / 0.7972 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.8042, allocations: 142.1 kB / 0.7973 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.8043, allocations: 328.4 kB / 0.7976 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.8047, allocations: 210.2 kB / 0.7978 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.8051, allocations: 306.5 kB / 0.7981 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.8058, allocations: 416.7 kB / 0.7985 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8058, allocations: 0 / 0.7985 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00117/0.807, allocations: 0.6707 MB / 0.7992 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.807, allocations: 8.219 kB / 0.7992 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.807, allocations: 2.812 kB / 0.7992 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.8071, allocations: 4.969 kB / 0.7992 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.8075, allocations: 113.2 kB / 0.7993 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.8075, allocations: 8.922 kB / 0.7993 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.8078, allocations: 41.28 kB / 0.7993 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.8079, allocations: 25.83 kB / 0.7994 GB, free: 42.4 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.0003528/0.8082, allocations: 282.3 kB / 0.7996 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.8084, allocations: 73.34 kB / 0.7997 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.8085, allocations: 71.86 kB / 0.7998 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.8085, allocations: 6.938 kB / 0.7998 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.8086, allocations: 1.875 kB / 0.7998 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.8086, allocations: 6.688 kB / 0.7998 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.8094, allocations: 462.3 kB / 0.8002 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.8094, allocations: 3.609 kB / 0.8002 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.8095, allocations: 19.45 kB / 0.8003 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.8095, allocations: 9.406 kB / 0.8003 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.8095, allocations: 10.91 kB / 0.8003 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.8095, allocations: 5.344 kB / 0.8003 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.8095, allocations: 3.125 kB / 0.8003 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009089/0.8105, allocations: 389.3 kB / 0.8007 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.8107, allocations: 160.2 kB / 0.8008 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-05/0.8108, allocations: 8.719 kB / 0.8008 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.811, allocations: 17.2 kB / 0.8008 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.8111, allocations: 33.77 kB / 0.8009 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.8111, allocations: 13.97 kB / 0.8009 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009158/0.8121, allocations: 0.6054 MB / 0.8015 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8121, allocations: 0.5938 kB / 0.8015 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000553/0.8126, allocations: 108.5 kB / 0.8016 GB, free: 41.24 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.001281/0.8139, allocations: 492.7 kB / 0.802 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009516/0.8149, allocations: 404.3 kB / 0.8024 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8149, allocations: 4 kB / 0.8024 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.8152, allocations: 102.6 kB / 0.8025 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.8162, allocations: 225.9 kB / 0.8027 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.818, allocations: 1.074 MB / 0.8038 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.8185, allocations: 0.928 MB / 0.8047 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003557/0.8189, allocations: 109.8 kB / 0.8048 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.819, allocations: 58.67 kB / 0.8049 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/0.819, allocations: 0.75 kB / 0.8049 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.0195/0.8385, allocations: 7.77 MB / 0.8124 GB, free: 39.12 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)