Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.114/2.114, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 186.6 kB / 490.8 MB, free: 1.965 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 90.31 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.242e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6696/0.8959, allocations: 150.4 MB / 1.358 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.8962, allocations: 85.67 kB / 1.359 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.009774/0.906, allocations: 3.913 MB / 1.362 GB, free: 17.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.906, allocations: 4.969 kB / 1.362 GB, free: 17.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000415/0.9064, allocations: 390.9 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.9065, allocations: 8.906 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.9065, allocations: 9.312 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.9067, allocations: 173.9 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.9067, allocations: 5.812 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.9068, allocations: 5.609 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/0.9069, allocations: 39.38 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.907, allocations: 77.72 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.907, allocations: 0 / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.9071, allocations: 5.016 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9071, allocations: 1.062 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.9075, allocations: 303.7 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.9076, allocations: 113.6 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.9077, allocations: 60.39 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.9078, allocations: 2.391 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.9079, allocations: 87.98 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.9079, allocations: 1 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.00023/0.9081, allocations: 117.3 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.9082, allocations: 53.91 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.9083, allocations: 118.3 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.9083, allocations: 26.58 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.9083, allocations: 87.08 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.9084, allocations: 16.75 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.9084, allocations: 0 / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.9085, allocations: 322.8 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.9085, allocations: 40.31 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.9086, allocations: 51.67 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.219e-05/0.9087, allocations: 34.02 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.9087, allocations: 1.281 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001779/0.9089, allocations: 124 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.9089, allocations: 9.891 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9089, allocations: 5.062 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.9089, allocations: 5.031 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.909, allocations: 10.58 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.909, allocations: 0.9375 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.9091, allocations: 4.016 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.9091, allocations: 23.25 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.036e-05/0.9092, allocations: 115.3 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.9092, allocations: 7.312 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.9093, allocations: 18.91 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9093, allocations: 1.344 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9093, allocations: 1.344 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9093, allocations: 0 / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.9096, allocations: 371.2 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9096, allocations: 0.7812 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/0.9096, allocations: 5.938 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9096, allocations: 2.828 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.9097, allocations: 4.969 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9097, allocations: 1.094 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9097, allocations: 0 / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001622/0.9098, allocations: 207.1 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.9099, allocations: 84.39 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.9099, allocations: 0.9062 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.91, allocations: 3.297 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.91, allocations: 15.56 kB / 1.365 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.9101, allocations: 28.03 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.277e-05/0.9101, allocations: 92.16 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002296/0.9104, allocations: 12.72 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.9105, allocations: 103.1 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.9107, allocations: 87.59 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9107, allocations: 4.062 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.42e-05/0.9107, allocations: 46.47 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.9111, allocations: 64.7 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.9115, allocations: 142.1 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.9117, allocations: 0.7104 MB / 1.367 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of SimCode: time 1.032e-06/0.9117, allocations: 0 / 1.367 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.003689/0.9154, allocations: 1.635 MB / 1.368 GB, free: 29.76 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches