Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001024/0.001024, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 185.1 kB / 16.92 MB, free: 6.922 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: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.826/2.826, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003226, allocations: 12.09 kB / 0.9035 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3059, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003162/0.3091, allocations: 2.145 MB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.3118, allocations: 1.551 MB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.3122, allocations: 11.88 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.3129, allocations: 311.2 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007185/0.3136, allocations: 295 kB / 1.064 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3147, allocations: 415.8 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000894/0.3156, allocations: 0.6582 MB / 1.065 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.3158, allocations: 73.73 kB / 1.065 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.3163, allocations: 298.5 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.3168, allocations: 306.7 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/0.3169, allocations: 12 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.3171, allocations: 71.89 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.3173, allocations: 179.3 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.3176, allocations: 275.8 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.3182, allocations: 0.573 MB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3182, allocations: 4 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3182, allocations: 0 / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.629e-05/0.3183, allocations: 0 / 1.066 GB, free: 13.75 MB / 0.8262 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.001594/0.3199, allocations: 0.9021 MB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3199, allocations: 11.97 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3201, allocations: 72 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.3211, allocations: 0.6211 MB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.3211, allocations: 12.36 kB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.3212, allocations: 15.94 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.3216, allocations: 203.3 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3216, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3216, allocations: 4 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3217, allocations: 0 / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.3219, allocations: 103.9 kB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.3233, allocations: 1.056 MB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.3239, allocations: 281 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.3241, allocations: 108.2 kB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.3242, allocations: 4 kB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004281/0.3246, allocations: 228.7 kB / 1.07 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.906e-06/0.3246, allocations: 0 / 1.07 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001063/0.3257, allocations: 425.2 kB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.3258, allocations: 166.1 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.3272, allocations: 1.036 MB / 1.071 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.3272, allocations: 33.7 kB / 1.071 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.3275, allocations: 284.9 kB / 1.072 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.3276, allocations: 79.08 kB / 1.072 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.3276, allocations: 69.67 kB / 1.072 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3278, allocations: 326 kB / 1.072 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.3282, allocations: 213.2 kB / 1.072 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.3286, allocations: 311 kB / 1.073 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.3294, allocations: 409.1 kB / 1.073 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3294, allocations: 0 / 1.073 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001218/0.3306, allocations: 0.678 MB / 1.074 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3306, allocations: 9.719 kB / 1.074 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3306, allocations: 0 / 1.074 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3307, allocations: 8 kB / 1.074 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.3311, allocations: 115.8 kB / 1.074 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.3311, allocations: 11.88 kB / 1.074 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.3315, allocations: 39.77 kB / 1.074 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.3315, allocations: 28.05 kB / 1.074 GB, free: 5.555 MB / 0.8262 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.00036/0.3319, allocations: 269.7 kB / 1.074 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.332, allocations: 75.05 kB / 1.074 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.3322, allocations: 81.86 kB / 1.074 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3322, allocations: 4 kB / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.3322, allocations: 3.938 kB / 1.074 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3322, allocations: 7.922 kB / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.3328, allocations: 469.6 kB / 1.075 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3328, allocations: 0 / 1.075 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.3329, allocations: 20 kB / 1.075 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.3329, allocations: 4 kB / 1.075 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.3329, allocations: 15.98 kB / 1.075 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.3329, allocations: 4 kB / 1.075 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3329, allocations: 7.875 kB / 1.075 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.3336, allocations: 392.3 kB / 1.075 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.3338, allocations: 168.1 kB / 1.075 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/0.3339, allocations: 12 kB / 1.075 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3341, allocations: 19.97 kB / 1.075 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.3342, allocations: 19.92 kB / 1.075 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.3342, allocations: 23.98 kB / 1.075 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008033/0.335, allocations: 0.6005 MB / 1.076 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/0.335, allocations: 0 / 1.076 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000489/0.3355, allocations: 116 kB / 1.076 GB, free: 3.168 MB / 0.8262 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.001243/0.3368, allocations: 471.6 kB / 1.077 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008345/0.3376, allocations: 403.5 kB / 1.077 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3376, allocations: 0 / 1.077 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.3379, allocations: 108.6 kB / 1.077 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.339, allocations: 217.2 kB / 1.077 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.3409, allocations: 1.288 MB / 1.079 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.3415, allocations: 0.9249 MB / 1.079 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.3416, allocations: 63.41 kB / 1.079 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.3416, allocations: 0 / 1.079 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of Templates: time 0.0152/0.3568, allocations: 8.677 MB / 1.088 GB, free: 7.207 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches