Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.197/2.197, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001018/0.001018, allocations: 177.1 kB / 498.1 MB, free: 5.766 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.542/1.542, allocations: 223.2 MB / 0.7949 GB, free: 19 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.0009631/0.0009628, allocations: 92.28 kB / 0.9346 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004088, allocations: 13.09 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3142, allocations: 142.3 MB / 1.223 GB, free: 89.64 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.5984, allocations: 149.4 MB / 1.369 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/0.5989, allocations: 83.94 kB / 1.369 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006267/0.6052, allocations: 2.29 MB / 1.371 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6052, allocations: 0 / 1.371 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.6052, allocations: 0 / 1.371 GB, free: 1.703 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003215/0.6056, allocations: 332.7 kB / 1.371 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6056, allocations: 12.03 kB / 1.371 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.6057, allocations: 83.22 kB / 1.371 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.6059, allocations: 238.3 kB / 1.372 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.6059, allocations: 154.6 kB / 1.372 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.606, allocations: 154.5 kB / 1.372 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.6061, allocations: 108.9 kB / 1.372 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.6061, allocations: 79.28 kB / 1.372 GB, free: 480 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.6062, allocations: 150.6 kB / 1.372 GB, free: 328 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.6062, allocations: 150.7 kB / 1.372 GB, free: 176 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/0.6063, allocations: 158.6 kB / 1.373 GB, free: 16 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.6066, allocations: 449.9 kB / 1.373 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.6067, allocations: 177.1 kB / 1.373 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.6067, allocations: 75.28 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.6068, allocations: 109.8 kB / 1.373 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6068, allocations: 0 / 1.373 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 8.228e-05/0.6069, allocations: 33.7 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.607, allocations: 126.7 kB / 1.374 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.6071, allocations: 101 kB / 1.374 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.6071, allocations: 29.7 kB / 1.374 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.6072, allocations: 84.05 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.6072, allocations: 0 / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.6072, allocations: 0 / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6073, allocations: 310.8 kB / 1.374 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.6073, allocations: 7.938 kB / 1.374 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.6074, allocations: 15.98 kB / 1.374 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.6074, allocations: 8.047 kB / 1.374 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6074, allocations: 4 kB / 1.374 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.6075, allocations: 37.94 kB / 1.374 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.6075, allocations: 4 kB / 1.374 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6075, allocations: 4 kB / 1.374 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6076, allocations: 0 / 1.374 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.494e-06/0.6076, allocations: 4 kB / 1.374 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.6076, allocations: 3.938 kB / 1.374 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.6077, allocations: 3.938 kB / 1.374 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.6077, allocations: 8.031 kB / 1.374 GB, free: 14.33 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 0.0001109/0.6078, allocations: 185.1 kB / 1.374 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.6079, allocations: 112.9 kB / 1.374 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.6079, allocations: 116.2 kB / 1.375 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.06e-05/0.608, allocations: 180.2 kB / 1.375 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-05/0.6081, allocations: 176.3 kB / 1.375 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.679e-05/0.6081, allocations: 184.3 kB / 1.375 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.6084, allocations: 405.2 kB / 1.375 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.22e-05/0.6084, allocations: 108.9 kB / 1.376 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.6085, allocations: 108.9 kB / 1.376 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.246e-05/0.6085, allocations: 176.3 kB / 1.376 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.6086, allocations: 180.3 kB / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-05/0.6087, allocations: 188.2 kB / 1.376 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.466e-05/0.6088, allocations: 176.3 kB / 1.376 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.6089, allocations: 307.8 kB / 1.377 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.609, allocations: 194 kB / 1.377 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.6091, allocations: 184.2 kB / 1.377 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.6092, allocations: 105 kB / 1.377 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.6092, allocations: 180.2 kB / 1.377 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.6093, allocations: 101.3 kB / 1.377 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.6093, allocations: 87.28 kB / 1.377 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.6093, allocations: 0 / 1.377 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002324/0.6096, allocations: 11.98 kB / 1.377 GB, free: 10.71 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002477/0.6098, allocations: 186.2 kB / 1.378 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.6099, allocations: 7.938 kB / 1.378 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6099, allocations: 0 / 1.378 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.6099, allocations: 4.016 kB / 1.378 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.6102, allocations: 0.5277 MB / 1.378 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.6105, allocations: 171.9 kB / 1.378 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.6108, allocations: 0.6809 MB / 1.379 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.6109, allocations: 0 / 1.379 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.6109, allocations: 7.438 kB / 1.379 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of SimCode: time 4.81e-07/0.6109, allocations: 4 kB / 1.379 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of Templates: time 0.002683/0.6136, allocations: 402 kB / 1.379 GB, free: 8.676 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches