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.001106/0.001106, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001314/0.001315, allocations: 193.1 kB / 16.25 MB, free: 6.621 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.648/2.648, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 71.88 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.7644, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004662/0.7691, allocations: 2.516 MB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003478/0.7726, allocations: 1.564 MB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/0.7733, allocations: 7.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.7744, allocations: 303.1 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.7755, allocations: 303 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.7769, allocations: 408.3 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.7784, allocations: 0.7128 MB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.7787, allocations: 81.72 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006325/0.7793, allocations: 330.6 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.7799, allocations: 330.6 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.78, allocations: 32 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.7803, allocations: 83.95 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.7805, allocations: 195.3 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.7809, allocations: 274.1 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000958/0.7818, allocations: 0.7375 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.7819, allocations: 4 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7819, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.538e-05/0.7819, allocations: 0 / 1.024 GB, free: 10.87 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.002139/0.784, allocations: 1.003 MB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.7841, allocations: 8.031 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.7843, allocations: 76 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.7853, allocations: 0.6172 MB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.7853, allocations: 16.36 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.7853, allocations: 23.92 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.7859, allocations: 195.3 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7859, allocations: 3.938 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.7859, allocations: 8 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7859, allocations: 8 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.7862, allocations: 95.88 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.7876, allocations: 1.052 MB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.7883, allocations: 277 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.7885, allocations: 108.2 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.7885, allocations: 7.984 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.789, allocations: 216.2 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.789, allocations: 0 / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0009841/0.79, allocations: 421.5 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.7901, allocations: 174.1 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.7913, allocations: 1.036 MB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.7913, allocations: 37.7 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.7916, allocations: 288.9 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.486e-05/0.7917, allocations: 79.02 kB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.7919, allocations: 142.2 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.792, allocations: 333.9 kB / 1.03 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.7924, allocations: 209.2 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.7929, allocations: 307 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/0.7936, allocations: 406.9 kB / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7936, allocations: 0 / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001247/0.7949, allocations: 0.676 MB / 1.032 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.7949, allocations: 4 kB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7949, allocations: 4 kB / 1.032 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.7949, allocations: 7.984 kB / 1.032 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.7953, allocations: 111.8 kB / 1.032 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.7954, allocations: 11.94 kB / 1.032 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.7957, allocations: 43.88 kB / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.7957, allocations: 28 kB / 1.032 GB, free: 2.516 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.0003132/0.796, allocations: 278.1 kB / 1.032 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.7962, allocations: 75.06 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.7964, allocations: 69.88 kB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.7964, allocations: 4 kB / 1.033 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.7964, allocations: 3.938 kB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7964, allocations: 0 / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.7969, allocations: 465.4 kB / 1.033 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.7969, allocations: 7.984 kB / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.86e-05/0.797, allocations: 27.94 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.797, allocations: 0 / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.172e-05/0.7971, allocations: 11.98 kB / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.7971, allocations: 4 kB / 1.033 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7971, allocations: 3.938 kB / 1.033 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.798, allocations: 398.7 kB / 1.034 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.7981, allocations: 160.2 kB / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.7982, allocations: 8 kB / 1.034 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.7984, allocations: 19.97 kB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.7985, allocations: 19.92 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.7985, allocations: 15.98 kB / 1.034 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007286/0.7992, allocations: 0.6083 MB / 1.034 GB, free: 268 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7992, allocations: 0 / 1.034 GB, free: 268 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004264/0.7997, allocations: 115.9 kB / 1.034 GB, free: 152 kB / 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.001297/0.801, allocations: 495.5 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009267/0.8019, allocations: 407.6 kB / 1.035 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8019, allocations: 0 / 1.035 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.8022, allocations: 112.4 kB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.8031, allocations: 220.6 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.805, allocations: 1.229 MB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.8056, allocations: 0.9285 MB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.8059, allocations: 113.2 kB / 1.038 GB, free: 12.81 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.806, allocations: 59.42 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.8061, allocations: 0 / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of Templates: time 0.0151/0.8212, allocations: 7.673 MB / 1.045 GB, free: 5.168 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