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.001778/0.001778, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00201/0.00201, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.551/2.551, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 68.23 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3009, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004424/0.3054, allocations: 2.48 MB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003239/0.3087, allocations: 1.575 MB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.309, allocations: 15.88 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.3098, allocations: 322.8 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007293/0.3105, allocations: 338.6 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3117, allocations: 438.2 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009078/0.3126, allocations: 0.709 MB / 1.024 GB, free: 4.773 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.3128, allocations: 73.73 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.3133, allocations: 314.8 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.3137, allocations: 326.6 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/0.3138, allocations: 32 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.314, allocations: 83.97 kB / 1.025 GB, free: 3.953 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.3142, allocations: 187.3 kB / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.3145, allocations: 270.1 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008259/0.3154, allocations: 0.7321 MB / 1.026 GB, free: 2.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3154, allocations: 0 / 1.026 GB, free: 2.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3154, allocations: 0 / 1.026 GB, free: 2.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.3154, allocations: 7.984 kB / 1.026 GB, free: 2.762 MB / 0.795 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.001632/0.317, allocations: 0.995 MB / 1.027 GB, free: 1.715 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3171, allocations: 8.922 kB / 1.027 GB, free: 1.707 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.3172, allocations: 76 kB / 1.027 GB, free: 1.633 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000961/0.3182, allocations: 0.6211 MB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.3182, allocations: 16.38 kB / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.3183, allocations: 19.92 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.3187, allocations: 204.1 kB / 1.028 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3187, allocations: 0 / 1.028 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.3188, allocations: 8 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3188, allocations: 4 kB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.3191, allocations: 99.86 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.3205, allocations: 1.052 MB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.3212, allocations: 281 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.3214, allocations: 104.2 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.3215, allocations: 7.984 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.3219, allocations: 231.4 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.322, allocations: 3.938 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25): time 0.001029/0.323, allocations: 417.6 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.3231, allocations: 170.2 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.3244, allocations: 1.032 MB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.3245, allocations: 33.7 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.3248, allocations: 288.8 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.3249, allocations: 75.08 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.3251, allocations: 142.2 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.3252, allocations: 330 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.3256, allocations: 213.2 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.3261, allocations: 307 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.3269, allocations: 409.2 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3269, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001282/0.3282, allocations: 0.6756 MB / 1.033 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3282, allocations: 8 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3282, allocations: 128 / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.3282, allocations: 12 kB / 1.033 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.3287, allocations: 115.8 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.3287, allocations: 11.88 kB / 1.033 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.329, allocations: 43.91 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.3291, allocations: 28 kB / 1.033 GB, free: 10.4 MB / 0.8106 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.000355/0.3294, allocations: 269.6 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3295, allocations: 79.06 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.3297, allocations: 69.88 kB / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3297, allocations: 4 kB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3297, allocations: 3.938 kB / 1.034 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3297, allocations: 4 kB / 1.034 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.3302, allocations: 469.1 kB / 1.034 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3303, allocations: 4 kB / 1.034 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.03e-05/0.3303, allocations: 19.98 kB / 1.034 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3303, allocations: 0 / 1.034 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.3304, allocations: 15.98 kB / 1.034 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3304, allocations: 3.938 kB / 1.034 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.3304, allocations: 7.938 kB / 1.034 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/0.3311, allocations: 389.6 kB / 1.035 GB, free: 9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.3313, allocations: 164.1 kB / 1.035 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.3314, allocations: 8 kB / 1.035 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3316, allocations: 15.98 kB / 1.035 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.3316, allocations: 31.84 kB / 1.035 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3317, allocations: 19.98 kB / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008143/0.3325, allocations: 0.6005 MB / 1.036 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3325, allocations: 7.875 kB / 1.036 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004291/0.3329, allocations: 112 kB / 1.036 GB, free: 8.031 MB / 0.8106 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.001784/0.3347, allocations: 482.9 kB / 1.036 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008654/0.3356, allocations: 407.6 kB / 1.037 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3356, allocations: 0 / 1.037 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.3359, allocations: 108.2 kB / 1.037 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/0.3369, allocations: 219.5 kB / 1.037 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.3387, allocations: 1.155 MB / 1.038 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/0.3393, allocations: 0.9285 MB / 1.039 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3394, allocations: 59.42 kB / 1.039 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.3395, allocations: 3.938 kB / 1.039 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of Templates: time 0.01519/0.3546, allocations: 8.804 MB / 1.048 GB, free: 12.07 MB / 0.8262 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=400 -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