Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007285/0.007285, allocations: 106 kB / 15.74 MB, free: 6.02 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.001349/0.001349, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.548/2.548, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.024, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002276/1.027, allocations: 1.248 MB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001265/1.028, allocations: 0.7199 MB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/1.028, allocations: 3.938 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/1.028, allocations: 4 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/1.028, allocations: 15.91 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.417e-05/1.028, allocations: 0 / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.77e-05/1.028, allocations: 11.94 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/1.029, allocations: 11.98 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.094e-05/1.029, allocations: 0 / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/1.029, allocations: 9.609 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/1.029, allocations: 0 / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.354e-05/1.029, allocations: 15.98 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/1.029, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/1.029, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/1.029, allocations: 15.92 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/1.029, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/1.029, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.472e-05/1.029, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 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.0003295/1.029, allocations: 323.3 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/1.029, allocations: 8.922 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/1.03, allocations: 88.14 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/1.03, allocations: 235.7 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/1.03, allocations: 150.9 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/1.03, allocations: 154.9 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.763e-05/1.03, allocations: 105.5 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/1.03, allocations: 83.41 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/1.03, allocations: 154.5 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.404e-05/1.03, allocations: 150.6 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/1.03, allocations: 154.5 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/1.03, allocations: 449.9 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.257e-05/1.031, allocations: 169.1 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/1.031, allocations: 80.14 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/1.031, allocations: 75.28 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/1.031, allocations: 109.8 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/1.031, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.781e-05/1.031, allocations: 33.58 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/1.031, allocations: 134.7 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.031, allocations: 97.84 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/1.031, allocations: 25.7 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/1.031, allocations: 80.14 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-06/1.031, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/1.031, allocations: 13.84 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.031, allocations: 322.8 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/1.031, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/1.031, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/1.031, allocations: 75.28 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-05/1.031, allocations: 75.28 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.773e-05/1.031, allocations: 41.62 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/1.031, allocations: 79.28 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/1.031, allocations: 83.25 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.149e-05/1.032, allocations: 158.5 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-05/1.032, allocations: 75.28 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.384e-05/1.032, allocations: 154.6 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/1.032, allocations: 87.22 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/1.032, allocations: 79.27 kB / 1.173 GB, free: 13.57 MB / 0.9044 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 (0): * Single equations (assignments): 0 * 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.0001277/1.032, allocations: 260.4 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/1.032, allocations: 108.9 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/1.032, allocations: 108 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.384e-05/1.032, allocations: 176.3 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.417e-05/1.032, allocations: 188.2 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.928e-05/1.032, allocations: 184.5 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/1.033, allocations: 397.2 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/1.033, allocations: 109 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/1.033, allocations: 109 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.987e-05/1.033, allocations: 184.2 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/1.033, allocations: 184.2 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.661e-05/1.033, allocations: 180.2 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.737e-05/1.033, allocations: 188.2 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/1.033, allocations: 307.8 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/1.033, allocations: 178.1 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.56e-05/1.033, allocations: 192.1 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.748e-05/1.033, allocations: 101 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/1.033, allocations: 184.2 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/1.033, allocations: 105 kB / 1.176 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.007e-05/1.034, allocations: 79.28 kB / 1.176 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/1.034, allocations: 0 / 1.176 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002698/1.034, allocations: 4.094 kB / 1.176 GB, free: 9.887 MB / 0.9044 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 (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.0003576/1.034, allocations: 204.8 kB / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.869e-05/1.034, allocations: 0 / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.034, allocations: 0 / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/1.034, allocations: 3.938 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/1.035, allocations: 460.8 kB / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/1.035, allocations: 161.8 kB / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/1.035, allocations: 0.6768 MB / 1.177 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.51e-05/1.035, allocations: 0 / 1.177 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/1.035, allocations: 7.438 kB / 1.177 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/1.035, allocations: 0 / 1.177 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of Templates: time 0.002327/1.038, allocations: 322.6 kB / 1.178 GB, free: 8.047 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches