Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 108 kB / 15.61 MB, free: 152 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.001032/0.001032, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.642/2.642, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.001821, allocations: 59.91 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7418, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.003119/0.745, allocations: 1.258 MB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.7464, allocations: 0.7348 MB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.7465, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.7465, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.7468, allocations: 15.92 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.747, allocations: 51.86 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.7471, allocations: 23.92 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.7472, allocations: 7.984 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.7473, allocations: 8 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.7474, allocations: 13.64 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.7475, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.7475, allocations: 15.98 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.7476, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.7476, allocations: 11.92 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.977e-05/0.7477, allocations: 15.98 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7477, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7477, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.7478, allocations: 4 kB / 1.019 GB, free: 388 kB / 0.7637 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.0004014/0.7482, allocations: 329.5 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.7482, allocations: 8.094 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.977e-05/0.7483, allocations: 88.14 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.7485, allocations: 243.5 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.7486, allocations: 154.9 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/0.7486, allocations: 158.9 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.299e-05/0.7487, allocations: 105.5 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.7488, allocations: 75.47 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.7488, allocations: 154.5 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/0.7489, allocations: 150.6 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.749, allocations: 154.5 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.7493, allocations: 461.9 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.929e-05/0.7494, allocations: 169.1 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.7494, allocations: 80.14 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.7494, allocations: 75.28 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.7495, allocations: 117.8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.7495, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.154e-05/0.7496, allocations: 33.58 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.7497, allocations: 130.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.7498, allocations: 105.8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.7498, allocations: 25.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.7499, allocations: 80.14 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.7499, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.7499, allocations: 21.72 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.75, allocations: 314.8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.7501, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.7501, allocations: 8 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.7501, allocations: 20.84 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7501, allocations: 3.938 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001142/0.7503, allocations: 33.7 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7503, allocations: 13.84 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7503, allocations: 3.938 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.7503, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.7503, allocations: 3.984 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.7503, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.7504, allocations: 7.906 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.7505, allocations: 0 / 1.023 GB, free: 12.88 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001035/0.7506, allocations: 181.1 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.7506, allocations: 112.9 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.7507, allocations: 116.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.04e-05/0.7508, allocations: 180.2 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.162e-05/0.7509, allocations: 188.2 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.25e-05/0.7509, allocations: 176.3 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.7512, allocations: 409.4 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.667e-05/0.7512, allocations: 109 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.7513, allocations: 101 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.8e-05/0.7514, allocations: 184.2 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.7514, allocations: 184.2 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.397e-05/0.7515, allocations: 184.2 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.187e-05/0.7516, allocations: 180.3 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.7517, allocations: 304 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.7518, allocations: 194.1 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.7519, allocations: 184.1 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.752, allocations: 104.9 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.7521, allocations: 184.2 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.7521, allocations: 108.9 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.7522, allocations: 83.28 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7522, allocations: 0 / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002571/0.7525, allocations: 4 kB / 1.026 GB, free: 9.258 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.0004716/0.7529, allocations: 186.5 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.517e-05/0.7531, allocations: 7.984 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7531, allocations: 0 / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.7531, allocations: 8 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.7535, allocations: 459.6 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.7539, allocations: 178.5 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.7542, allocations: 0.669 MB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.7542, allocations: 4 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.7542, allocations: 7.438 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of SimCode: time 1.91e-07/0.7542, allocations: 0 / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of Templates: time 0.002981/0.7572, allocations: 431.8 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches