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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008022/0.0008021, allocations: 92.16 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.0009491/0.000949, allocations: 181.6 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 15.94 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8036/0.804, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001384/0.8054, allocations: 0.9645 MB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.8066, allocations: 0.6994 MB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.663e-05/0.8066, allocations: 4 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.8067, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.8069, allocations: 19.97 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.869e-05/0.8069, allocations: 10.06 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.806e-05/0.807, allocations: 15.98 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.8071, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/0.8071, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.8072, allocations: 7.984 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.8073, allocations: 0 / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.8073, allocations: 7.984 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.8074, allocations: 12 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.8074, allocations: 37.56 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.167e-05/0.8075, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8075, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.137e-06/0.8075, allocations: 3.984 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.8075, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 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.0002804/0.8078, allocations: 315.5 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8079, allocations: 8.031 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.8079, allocations: 76.22 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.8081, allocations: 255.6 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.283e-05/0.8082, allocations: 154.9 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.8082, allocations: 150.9 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.538e-05/0.8083, allocations: 105.5 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.8083, allocations: 75.47 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.8084, allocations: 162.5 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/0.8085, allocations: 154.5 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.431e-05/0.8085, allocations: 150.6 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.8088, allocations: 445.9 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.8089, allocations: 173.1 kB / 1.028 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.809, allocations: 80.14 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.809, allocations: 75.28 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.809, allocations: 113.8 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.8091, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.506e-05/0.8091, allocations: 29.64 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.8092, allocations: 134.7 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.8093, allocations: 89.86 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.8093, allocations: 33.69 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.8094, allocations: 80.14 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.8094, allocations: 0 / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.8094, allocations: 13.72 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8095, allocations: 310.8 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-06/0.8095, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.8096, allocations: 4.125 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.8096, allocations: 87.19 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-05/0.8096, allocations: 75.28 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.059e-05/0.8097, allocations: 29.69 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.8097, allocations: 83.28 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.8098, allocations: 79.22 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.43e-05/0.8098, allocations: 158.5 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.348e-05/0.8099, allocations: 75.28 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.849e-05/0.8099, allocations: 166.5 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.8101, allocations: 75.28 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.8101, allocations: 75.28 kB / 1.029 GB, free: 9.812 MB / 0.7794 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.0001192/0.8102, allocations: 262.9 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.8103, allocations: 108.9 kB / 1.03 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.844e-05/0.8104, allocations: 112 kB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.683e-05/0.8105, allocations: 192.2 kB / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.855e-05/0.8105, allocations: 176.5 kB / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.979e-05/0.8106, allocations: 176.3 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.8108, allocations: 409.2 kB / 1.031 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.8109, allocations: 109 kB / 1.031 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.8109, allocations: 108.9 kB / 1.031 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-05/0.811, allocations: 180.2 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.8111, allocations: 184.2 kB / 1.031 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.832e-05/0.8111, allocations: 180.2 kB / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.963e-05/0.8112, allocations: 176.3 kB / 1.032 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.8113, allocations: 311.8 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.8114, allocations: 178.1 kB / 1.032 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.8115, allocations: 188.1 kB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.8116, allocations: 101 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.8116, allocations: 192.2 kB / 1.033 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.8117, allocations: 101 kB / 1.033 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.8117, allocations: 79.28 kB / 1.033 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8117, allocations: 0 / 1.033 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002506/0.812, allocations: 4 kB / 1.033 GB, free: 6.137 MB / 0.7794 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.0002986/0.8123, allocations: 198.1 kB / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.748e-05/0.8123, allocations: 3.938 kB / 1.033 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.8124, allocations: 0 / 1.033 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.8124, allocations: 7.938 kB / 1.033 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.8127, allocations: 0.5185 MB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.813, allocations: 189.7 kB / 1.034 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.8132, allocations: 0.673 MB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.8132, allocations: 11.44 kB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8133, allocations: 0 / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of Templates: time 0.00181/0.8151, allocations: 463.9 kB / 1.035 GB, free: 4.023 MB / 0.7794 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/jenkins1/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