Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007467/0.007467, allocations: 101.2 kB / 15.88 MB, free: 6.305 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.001721/0.001721, allocations: 198.3 kB / 16.79 MB, free: 6.238 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.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.91 kB / 0.8692 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7028/0.7044, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004436/0.7089, allocations: 2.516 MB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.7119, allocations: 1.575 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.7123, allocations: 7.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.7131, allocations: 307.1 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007817/0.7139, allocations: 303 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.715, allocations: 404 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.7161, allocations: 0.666 MB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.7163, allocations: 81.72 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005813/0.7169, allocations: 298.5 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.7174, allocations: 302.8 kB / 1.024 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.336e-05/0.7175, allocations: 12 kB / 1.024 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.7178, allocations: 79.89 kB / 1.024 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.718, allocations: 179.3 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.7183, allocations: 250.2 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.719, allocations: 0.5865 MB / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.719, allocations: 4 kB / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.343e-06/0.719, allocations: 0 / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.7191, allocations: 0 / 1.025 GB, free: 11.23 MB / 0.7794 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.001929/0.721, allocations: 1.003 MB / 1.026 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/0.7211, allocations: 8.031 kB / 1.026 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.7213, allocations: 72 kB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.7224, allocations: 0.6212 MB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.7224, allocations: 8.375 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.7225, allocations: 15.94 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.7229, allocations: 203.3 kB / 1.027 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.7229, allocations: 0 / 1.027 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.723, allocations: 11.88 kB / 1.027 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.723, allocations: 4 kB / 1.027 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.7233, allocations: 99.86 kB / 1.027 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.7248, allocations: 1.056 MB / 1.028 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.7255, allocations: 277 kB / 1.028 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.7257, allocations: 108.2 kB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.7258, allocations: 4 kB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.7262, allocations: 224.1 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.7262, allocations: 0 / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001059/0.7273, allocations: 429.4 kB / 1.029 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.7274, allocations: 166.1 kB / 1.029 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.7289, allocations: 1.036 MB / 1.03 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.7289, allocations: 33.7 kB / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.7292, allocations: 288.9 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.7293, allocations: 79.08 kB / 1.03 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.7295, allocations: 138.2 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7297, allocations: 330 kB / 1.031 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.7301, allocations: 217.2 kB / 1.031 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.7306, allocations: 307 kB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.7313, allocations: 410.2 kB / 1.032 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.7313, allocations: 0 / 1.032 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001241/0.7325, allocations: 0.6727 MB / 1.032 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.7326, allocations: 5.25 kB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.7326, allocations: 4 kB / 1.032 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.7326, allocations: 4 kB / 1.032 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.7331, allocations: 120 kB / 1.032 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.7331, allocations: 11.94 kB / 1.032 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.7334, allocations: 35.77 kB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.7335, allocations: 27.98 kB / 1.032 GB, free: 2.875 MB / 0.7794 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.0003728/0.7339, allocations: 274.1 kB / 1.033 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.734, allocations: 71.06 kB / 1.033 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.7342, allocations: 81.86 kB / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.7342, allocations: 4 kB / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.7342, allocations: 8.25 kB / 1.033 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.7342, allocations: 3.984 kB / 1.033 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.7348, allocations: 465.2 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.7348, allocations: 11.94 kB / 1.033 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.974e-05/0.7349, allocations: 23.92 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.7349, allocations: 0 / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.7349, allocations: 8 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.7349, allocations: 4 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7349, allocations: 3.938 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007069/0.7357, allocations: 394.7 kB / 1.034 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.7358, allocations: 156.2 kB / 1.034 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.7359, allocations: 15.98 kB / 1.034 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.7361, allocations: 15.98 kB / 1.034 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.7362, allocations: 23.91 kB / 1.034 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.7363, allocations: 16 kB / 1.034 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000935/0.7372, allocations: 0.6005 MB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7372, allocations: 0 / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004938/0.7377, allocations: 119.9 kB / 1.035 GB, free: 0.5039 MB / 0.7794 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.001253/0.739, allocations: 489.9 kB / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008689/0.7398, allocations: 395.7 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7399, allocations: 4.062 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.7401, allocations: 111.8 kB / 1.036 GB, free: 15.71 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000942/0.7411, allocations: 208.1 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.743, allocations: 1.283 MB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.7436, allocations: 0.921 MB / 1.038 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.7438, allocations: 59.41 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.7438, allocations: 0 / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of Templates: time 0.01533/0.7591, allocations: 8.794 MB / 1.047 GB, free: 4.426 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches