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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001151/0.001151, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009422/0.009423, allocations: 170 kB / 16.26 MB, free: 6.613 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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003272, allocations: 12 kB / 0.8729 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7275, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.00255/0.7301, allocations: 2.154 MB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.7327, allocations: 1.537 MB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.7329, allocations: 11.88 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.7335, allocations: 303.2 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005319/0.734, allocations: 303 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.7349, allocations: 415.5 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000685/0.7356, allocations: 0.6582 MB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.7358, allocations: 73.73 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.7362, allocations: 294.5 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.7365, allocations: 306.6 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.7366, allocations: 12 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.7368, allocations: 67.95 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.737, allocations: 175.3 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.7372, allocations: 275.8 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.7378, allocations: 0.7101 MB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7378, allocations: 0 / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7379, allocations: 0 / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.7379, allocations: 0 / 1.03 GB, free: 8.586 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.001319/0.7392, allocations: 0.8904 MB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.7392, allocations: 12.03 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.7394, allocations: 75.98 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.7402, allocations: 0.6327 MB / 1.032 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.7402, allocations: 8.375 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.7403, allocations: 15.92 kB / 1.032 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.7407, allocations: 207.3 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7407, allocations: 0 / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.7407, allocations: 7.984 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.7407, allocations: 7.984 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.741, allocations: 95.88 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.7423, allocations: 1.056 MB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.7429, allocations: 277 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.7431, allocations: 104.2 kB / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.7432, allocations: 7.984 kB / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003798/0.7436, allocations: 222.9 kB / 1.034 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.7436, allocations: 0 / 1.034 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0009502/0.7445, allocations: 429.4 kB / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.7446, allocations: 162.2 kB / 1.034 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.7458, allocations: 1.036 MB / 1.035 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.7458, allocations: 33.7 kB / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.7461, allocations: 284.9 kB / 1.036 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.7461, allocations: 79.08 kB / 1.036 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.7462, allocations: 69.67 kB / 1.036 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7464, allocations: 334 kB / 1.036 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.7467, allocations: 213.2 kB / 1.036 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.7472, allocations: 303 kB / 1.036 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/0.7478, allocations: 407.1 kB / 1.037 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.7479, allocations: 7.938 kB / 1.037 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001142/0.749, allocations: 0.6681 MB / 1.038 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.749, allocations: 8 kB / 1.038 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.7491, allocations: 4 kB / 1.038 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7491, allocations: 4 kB / 1.038 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.7495, allocations: 120 kB / 1.038 GB, free: 492 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.7495, allocations: 11.94 kB / 1.038 GB, free: 480 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.7498, allocations: 39.81 kB / 1.038 GB, free: 440 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.7499, allocations: 24 kB / 1.038 GB, free: 416 kB / 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.000325/0.7502, allocations: 286 kB / 1.038 GB, free: 120 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.7503, allocations: 75.06 kB / 1.038 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.7505, allocations: 73.88 kB / 1.038 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.7505, allocations: 4 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.7505, allocations: 7.938 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.7505, allocations: 4 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.751, allocations: 457.2 kB / 1.039 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.751, allocations: 11.92 kB / 1.039 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.7511, allocations: 16 kB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7511, allocations: 0 / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.7511, allocations: 11.98 kB / 1.039 GB, free: 15.42 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.7511, allocations: 4 kB / 1.039 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.7511, allocations: 7.875 kB / 1.039 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.7518, allocations: 391.5 kB / 1.039 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.752, allocations: 168.1 kB / 1.039 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.7521, allocations: 12 kB / 1.039 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.7522, allocations: 19.98 kB / 1.039 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.7523, allocations: 23.91 kB / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.7523, allocations: 23.92 kB / 1.039 GB, free: 14.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007383/0.7531, allocations: 0.6005 MB / 1.04 GB, free: 14.13 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7531, allocations: 0 / 1.04 GB, free: 14.13 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003992/0.7535, allocations: 112 kB / 1.04 GB, free: 14.02 MB / 0.795 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.001109/0.7546, allocations: 487.3 kB / 1.04 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007586/0.7554, allocations: 410.8 kB / 1.041 GB, free: 13.33 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7554, allocations: 0 / 1.041 GB, free: 13.33 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.7556, allocations: 107.9 kB / 1.041 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.7567, allocations: 200.7 kB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.7584, allocations: 1.236 MB / 1.042 GB, free: 11.76 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.759, allocations: 0.9287 MB / 1.043 GB, free: 10.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.7593, allocations: 112.9 kB / 1.043 GB, free: 10.69 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.7594, allocations: 55.42 kB / 1.043 GB, free: 10.64 MB / 0.795 GB Notification: Performance of SimCode: time 8.92e-07/0.7594, allocations: 3.938 kB / 1.043 GB, free: 10.63 MB / 0.795 GB Notification: Performance of Templates: time 0.01408/0.7735, allocations: 7.325 MB / 1.051 GB, free: 3.395 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/jenkins/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