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.001087/0.001094, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01009/0.01009, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.697/1.697, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.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.908/1.908, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005885/0.0005885, allocations: 16.62 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2746, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003417/0.278, allocations: 2.145 MB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.2811, allocations: 1.448 MB / 0.7914 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.2816, allocations: 7.875 kB / 0.7914 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00072/0.2823, allocations: 299.2 kB / 0.7917 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007012/0.283, allocations: 303 kB / 0.792 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2841, allocations: 364.8 kB / 0.7923 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009218/0.285, allocations: 0.6621 MB / 0.793 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.2853, allocations: 69.72 kB / 0.7931 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.2857, allocations: 286.6 kB / 0.7933 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.286, allocations: 306.6 kB / 0.7936 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.2861, allocations: 12 kB / 0.7936 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.2864, allocations: 71.97 kB / 0.7937 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.2866, allocations: 179.2 kB / 0.7939 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.2869, allocations: 275.9 kB / 0.7941 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007244/0.2876, allocations: 0.7122 MB / 0.7948 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2876, allocations: 8 kB / 0.7948 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2876, allocations: 0 / 0.7948 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2876, allocations: 4 kB / 0.7948 GB, free: 4.414 MB / 0.6075 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.001675/0.2893, allocations: 0.8865 MB / 0.7957 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.2894, allocations: 12.03 kB / 0.7957 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.2895, allocations: 76 kB / 0.7958 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008541/0.2904, allocations: 0.625 MB / 0.7964 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.2904, allocations: 12.12 kB / 0.7964 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.2904, allocations: 15.94 kB / 0.7964 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.2909, allocations: 197.8 kB / 0.7966 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2909, allocations: 4 kB / 0.7966 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.291, allocations: 4 kB / 0.7966 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.291, allocations: 4 kB / 0.7966 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.2912, allocations: 95.88 kB / 0.7967 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.2925, allocations: 1.059 MB / 0.7978 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.2931, allocations: 288.9 kB / 0.798 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.2933, allocations: 100.2 kB / 0.7981 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.2933, allocations: 11.92 kB / 0.7981 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.2938, allocations: 223.5 kB / 0.7984 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/0.2938, allocations: 0 / 0.7984 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.0009559/0.2947, allocations: 425.5 kB / 0.7988 GB, free: 136 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.2948, allocations: 162.1 kB / 0.7989 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.2961, allocations: 1.036 MB / 0.7999 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.2962, allocations: 29.7 kB / 0.8 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.2964, allocations: 292.8 kB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.2965, allocations: 75.09 kB / 0.8003 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.2966, allocations: 65.69 kB / 0.8004 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2968, allocations: 333.9 kB / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.2971, allocations: 213.2 kB / 0.8009 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.2976, allocations: 303 kB / 0.8012 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.2982, allocations: 413.9 kB / 0.8016 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2982, allocations: 4 kB / 0.8016 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001124/0.2994, allocations: 0.6713 MB / 0.8022 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2994, allocations: 8 kB / 0.8022 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2994, allocations: 256 / 0.8022 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2994, allocations: 4 kB / 0.8022 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.2998, allocations: 123.8 kB / 0.8024 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2999, allocations: 12.16 kB / 0.8024 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.3002, allocations: 47.61 kB / 0.8024 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.3002, allocations: 27.98 kB / 0.8024 GB, free: 12.23 MB / 0.6231 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.0003186/0.3006, allocations: 273.6 kB / 0.8027 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.3007, allocations: 71.06 kB / 0.8028 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.3008, allocations: 69.89 kB / 0.8028 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3008, allocations: 7.938 kB / 0.8029 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.3008, allocations: 8 kB / 0.8029 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3009, allocations: 3.984 kB / 0.8029 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.3014, allocations: 465.1 kB / 0.8033 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3014, allocations: 0 / 0.8033 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.3015, allocations: 27.92 kB / 0.8033 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3015, allocations: 4 kB / 0.8033 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3015, allocations: 4 kB / 0.8033 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3015, allocations: 7.938 kB / 0.8033 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3015, allocations: 7.969 kB / 0.8034 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.3022, allocations: 397.1 kB / 0.8037 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.3024, allocations: 164.2 kB / 0.8039 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.3024, allocations: 19.98 kB / 0.8039 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.3026, allocations: 19.92 kB / 0.8039 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.3027, allocations: 23.97 kB / 0.804 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.3027, allocations: 16 kB / 0.804 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00082/0.3036, allocations: 0.5966 MB / 0.8045 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3036, allocations: 0 / 0.8045 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004555/0.304, allocations: 123.9 kB / 0.8047 GB, free: 9.844 MB / 0.6231 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.001248/0.3053, allocations: 487.4 kB / 0.8051 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007627/0.3061, allocations: 399.7 kB / 0.8055 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3061, allocations: 0 / 0.8055 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.3063, allocations: 107.8 kB / 0.8056 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3074, allocations: 200.7 kB / 0.8058 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3091, allocations: 1.244 MB / 0.807 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.3096, allocations: 0.9287 MB / 0.8079 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.3098, allocations: 112.8 kB / 0.808 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.31, allocations: 59.42 kB / 0.8081 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.31, allocations: 0 / 0.8081 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of Templates: time 0.01463/0.3246, allocations: 7.308 MB / 0.8152 GB, free: 15.24 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: