Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_9_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.00136/0.00136, allocations: 106.6 kB / 16.27 MB, free: 6.414 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.001477/0.001477, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 69.83 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.264, allocations: 140.4 MB / 0.9503 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004398/0.2685, allocations: 2.47 MB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.2716, allocations: 1.583 MB / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003936/0.2721, allocations: 11.88 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.2728, allocations: 326.8 kB / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008414/0.2737, allocations: 338.6 kB / 0.9549 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.2749, allocations: 434.6 kB / 0.9553 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008914/0.2758, allocations: 0.7051 MB / 0.956 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.276, allocations: 85.7 kB / 0.9561 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.2765, allocations: 314.8 kB / 0.9564 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.277, allocations: 318.7 kB / 0.9567 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.84e-05/0.2771, allocations: 28 kB / 0.9567 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.2774, allocations: 103.9 kB / 0.9568 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.2776, allocations: 187.3 kB / 0.957 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.2779, allocations: 262.2 kB / 0.9572 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007767/0.2787, allocations: 0.732 MB / 0.958 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2787, allocations: 0 / 0.958 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2787, allocations: 0 / 0.958 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.765e-05/0.2787, allocations: 0 / 0.958 GB, free: 0.9414 MB / 0.7325 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.001753/0.2805, allocations: 1.007 MB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2805, allocations: 8.031 kB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.2807, allocations: 72 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.2817, allocations: 0.6328 MB / 0.9596 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.2817, allocations: 4.375 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.2818, allocations: 15.94 kB / 0.9597 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.2822, allocations: 203.8 kB / 0.9598 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2822, allocations: 0 / 0.9598 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.2822, allocations: 8 kB / 0.9599 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2823, allocations: 0 / 0.9599 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.2825, allocations: 99.88 kB / 0.96 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.284, allocations: 1.059 MB / 0.961 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.2846, allocations: 284.9 kB / 0.9613 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.2848, allocations: 104.2 kB / 0.9614 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.2849, allocations: 4 kB / 0.9614 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.2853, allocations: 233.8 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.2853, allocations: 0 / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.0009792/0.2863, allocations: 424.4 kB / 0.962 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.2864, allocations: 166.1 kB / 0.9621 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.2877, allocations: 1.032 MB / 0.9632 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.2878, allocations: 33.7 kB / 0.9632 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.288, allocations: 288.8 kB / 0.9635 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.2881, allocations: 83.08 kB / 0.9635 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.2883, allocations: 138.2 kB / 0.9637 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2884, allocations: 330 kB / 0.964 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.2888, allocations: 213.2 kB / 0.9642 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.2893, allocations: 303 kB / 0.9645 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.29, allocations: 423.6 kB / 0.9649 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.29, allocations: 0 / 0.9649 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001179/0.2912, allocations: 0.6681 MB / 0.9655 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2912, allocations: 4 kB / 0.9655 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.2912, allocations: 4 kB / 0.9655 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2912, allocations: 7.938 kB / 0.9656 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.2917, allocations: 125.2 kB / 0.9657 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.2917, allocations: 11.94 kB / 0.9657 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.2921, allocations: 35.77 kB / 0.9657 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.2921, allocations: 31.97 kB / 0.9657 GB, free: 8.559 MB / 0.7481 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.0003255/0.2924, allocations: 273.6 kB / 0.966 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.2926, allocations: 71.06 kB / 0.9661 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.2927, allocations: 77.88 kB / 0.9661 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2927, allocations: 7.938 kB / 0.9662 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2928, allocations: 7.938 kB / 0.9662 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2928, allocations: 3.984 kB / 0.9662 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.2933, allocations: 461.1 kB / 0.9666 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2933, allocations: 0 / 0.9666 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.2934, allocations: 23.98 kB / 0.9666 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.2934, allocations: 4 kB / 0.9666 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.2934, allocations: 4 kB / 0.9666 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2934, allocations: 4 kB / 0.9666 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2934, allocations: 3.938 kB / 0.9666 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/0.2941, allocations: 395.4 kB / 0.967 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.2943, allocations: 152.2 kB / 0.9672 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.2944, allocations: 19.98 kB / 0.9672 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.2946, allocations: 19.92 kB / 0.9672 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.2947, allocations: 23.91 kB / 0.9672 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2947, allocations: 16 kB / 0.9672 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008072/0.2955, allocations: 0.6005 MB / 0.9678 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2955, allocations: 3.938 kB / 0.9678 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004703/0.296, allocations: 115.9 kB / 0.9679 GB, free: 6.195 MB / 0.7481 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.001291/0.2973, allocations: 480.1 kB / 0.9684 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008266/0.2982, allocations: 411.6 kB / 0.9688 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.2982, allocations: 4.062 kB / 0.9688 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.2984, allocations: 107.8 kB / 0.9689 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.2994, allocations: 218.2 kB / 0.9691 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.3016, allocations: 1.152 MB / 0.9702 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.3023, allocations: 0.9322 MB / 0.9711 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3025, allocations: 63.41 kB / 0.9712 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of SimCode: time 1.152e-06/0.3025, allocations: 0 / 0.9712 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of Templates: time 0.0151/0.3176, allocations: 8.806 MB / 0.9798 GB, free: 10.22 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches