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.001665/0.001665, allocations: 105.7 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.001777/0.001777, allocations: 189.8 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.537/2.537, allocations: 437.1 MB / 0.711 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002098, allocations: 64.28 kB / 0.8699 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3424, allocations: 151.6 MB / 1.018 GB, free: 10.54 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.005158/0.3476, allocations: 2.471 MB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.3507, allocations: 1.575 MB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.351, allocations: 15.88 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007072/0.3518, allocations: 326.8 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.3525, allocations: 334.6 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.3536, allocations: 438.5 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009391/0.3546, allocations: 0.709 MB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.3548, allocations: 81.72 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00054/0.3554, allocations: 314.8 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.3558, allocations: 322.6 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.058e-05/0.3559, allocations: 32 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.3562, allocations: 87.97 kB / 1.025 GB, free: 3.844 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.3564, allocations: 191.3 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.3568, allocations: 274.1 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008551/0.3576, allocations: 0.7282 MB / 1.026 GB, free: 2.656 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3577, allocations: 0 / 1.026 GB, free: 2.656 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3577, allocations: 3.938 kB / 1.026 GB, free: 2.652 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.045e-05/0.3577, allocations: 0 / 1.026 GB, free: 2.652 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.001815/0.3595, allocations: 0.9989 MB / 1.027 GB, free: 1.602 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3596, allocations: 8.922 kB / 1.027 GB, free: 1.594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.3597, allocations: 76 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009916/0.3607, allocations: 0.6172 MB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.3608, allocations: 12.38 kB / 1.027 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.3608, allocations: 15.94 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.3613, allocations: 204.6 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3613, allocations: 4 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.3613, allocations: 4 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3613, allocations: 4 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.3616, allocations: 99.81 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.3632, allocations: 1.055 MB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.3638, allocations: 289 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.3641, allocations: 100.2 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.3642, allocations: 7.938 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/0.3646, allocations: 227.4 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.3646, allocations: 0 / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25): time 0.001027/0.3657, allocations: 424.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.3658, allocations: 170.1 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.3672, allocations: 1.028 MB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.3672, allocations: 33.7 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.3675, allocations: 292.8 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.3676, allocations: 79.02 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.3678, allocations: 142.2 kB / 1.031 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.368, allocations: 330 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.3684, allocations: 209.2 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.3689, allocations: 315 kB / 1.032 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.3696, allocations: 406.2 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3696, allocations: 0 / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001264/0.3709, allocations: 0.6719 MB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3709, allocations: 8 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.371, allocations: 0 / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.371, allocations: 16.09 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.3714, allocations: 111.9 kB / 1.033 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.3715, allocations: 11.88 kB / 1.033 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.3717, allocations: 35.77 kB / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.3718, allocations: 31.98 kB / 1.033 GB, free: 10.29 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.0003287/0.3721, allocations: 262.5 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3723, allocations: 83.05 kB / 1.034 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.3724, allocations: 73.88 kB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3724, allocations: 4 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.3724, allocations: 7.938 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3725, allocations: 7.984 kB / 1.034 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.373, allocations: 461.1 kB / 1.034 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.373, allocations: 4 kB / 1.034 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.3731, allocations: 16 kB / 1.034 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3731, allocations: 0 / 1.034 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.3731, allocations: 19.92 kB / 1.034 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.3731, allocations: 0 / 1.034 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3731, allocations: 7.938 kB / 1.034 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.3739, allocations: 385.6 kB / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.3741, allocations: 168 kB / 1.035 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/0.3742, allocations: 8 kB / 1.035 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3743, allocations: 27.91 kB / 1.035 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.3744, allocations: 27.91 kB / 1.035 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.3744, allocations: 8 kB / 1.035 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008281/0.3753, allocations: 0.6044 MB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.064e-06/0.3753, allocations: 0 / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004382/0.3757, allocations: 119.9 kB / 1.036 GB, free: 7.926 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.001777/0.3775, allocations: 485.4 kB / 1.036 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008376/0.3784, allocations: 415.2 kB / 1.037 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3784, allocations: 4 kB / 1.037 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.3786, allocations: 99.89 kB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.3796, allocations: 221 kB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3814, allocations: 1.156 MB / 1.038 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.382, allocations: 0.9246 MB / 1.039 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3821, allocations: 63.41 kB / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3822, allocations: 0 / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of Templates: time 0.0144/0.3966, allocations: 8.803 MB / 1.048 GB, free: 11.97 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=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