Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001105/0.001105, allocations: 172.9 kB / 487.4 MB, free: 5.027 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.823/1.823, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009155/0.0009153, allocations: 99.67 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.187e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3474, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.454, allocations: 148.4 MB / 1.351 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.455, allocations: 81.7 kB / 1.351 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004046/1.459, allocations: 1.443 MB / 1.352 GB, free: 34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/1.459, allocations: 0 / 1.352 GB, free: 34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.459, allocations: 1.75 kB / 1.352 GB, free: 34 MB / 0.8386 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.0002222/1.459, allocations: 317.9 kB / 1.353 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.459, allocations: 11.12 kB / 1.353 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/1.459, allocations: 76.59 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.459, allocations: 242.9 kB / 1.353 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/1.459, allocations: 152.1 kB / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/1.459, allocations: 160.5 kB / 1.353 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.462e-05/1.459, allocations: 150.6 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.342e-05/1.46, allocations: 106.9 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/1.46, allocations: 75.28 kB / 1.354 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/1.46, allocations: 155.1 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.546e-05/1.46, allocations: 151.2 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/1.46, allocations: 434.1 kB / 1.354 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/1.46, allocations: 172.3 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/1.46, allocations: 86.14 kB / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/1.46, allocations: 75.28 kB / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/1.46, allocations: 115.7 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/1.46, allocations: 0 / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.707e-05/1.46, allocations: 27.75 kB / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/1.46, allocations: 51.41 kB / 1.355 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/1.46, allocations: 95.3 kB / 1.355 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/1.46, allocations: 25.7 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/1.46, allocations: 82.2 kB / 1.355 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/1.46, allocations: 0 / 1.355 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/1.46, allocations: 4 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.461, allocations: 316.2 kB / 1.355 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-06/1.461, allocations: 0 / 1.355 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/1.461, allocations: 1.875 kB / 1.355 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/1.461, allocations: 76.59 kB / 1.355 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-05/1.461, allocations: 75.28 kB / 1.355 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.223e-05/1.461, allocations: 38.31 kB / 1.355 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/1.461, allocations: 80.5 kB / 1.356 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/1.461, allocations: 81.92 kB / 1.356 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.373e-05/1.461, allocations: 151.3 kB / 1.356 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/1.461, allocations: 80.47 kB / 1.356 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.904e-05/1.461, allocations: 156.6 kB / 1.356 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.461, allocations: 77.22 kB / 1.356 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/1.461, allocations: 81.36 kB / 1.356 GB, free: 29.98 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001225/1.461, allocations: 260.4 kB / 1.356 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/1.461, allocations: 109.6 kB / 1.357 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/1.461, allocations: 111.2 kB / 1.357 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-05/1.462, allocations: 182.2 kB / 1.357 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.627e-05/1.462, allocations: 182.3 kB / 1.357 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.352e-05/1.462, allocations: 181.1 kB / 1.357 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/1.462, allocations: 386.5 kB / 1.358 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-05/1.462, allocations: 103 kB / 1.358 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/1.462, allocations: 101.7 kB / 1.358 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.436e-05/1.462, allocations: 182.2 kB / 1.358 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/1.462, allocations: 178.3 kB / 1.358 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-05/1.462, allocations: 187.1 kB / 1.358 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.353e-05/1.462, allocations: 180.7 kB / 1.358 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/1.462, allocations: 305.4 kB / 1.359 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/1.462, allocations: 185.1 kB / 1.359 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/1.462, allocations: 183.9 kB / 1.359 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/1.463, allocations: 106.3 kB / 1.359 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/1.463, allocations: 189.2 kB / 1.359 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/1.463, allocations: 103 kB / 1.359 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.59e-05/1.463, allocations: 79.97 kB / 1.359 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.463, allocations: 0 / 1.359 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002652/1.463, allocations: 3.141 kB / 1.359 GB, free: 26.41 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: 0 () * Number of discrete 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.0002766/1.463, allocations: 189.2 kB / 1.36 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.025e-05/1.463, allocations: 0.7031 kB / 1.36 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.463, allocations: 1.312 kB / 1.36 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/1.463, allocations: 3.938 kB / 1.36 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/1.464, allocations: 0.5243 MB / 1.36 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/1.464, allocations: 121.3 kB / 1.36 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/1.464, allocations: 0.6764 MB / 1.361 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.071e-05/1.464, allocations: 1.281 kB / 1.361 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/1.464, allocations: 9.375 kB / 1.361 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of SimCode: time 9.72e-07/1.464, allocations: 0 / 1.361 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.002197/1.466, allocations: 329.4 kB / 1.361 GB, free: 24.83 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches