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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001533/0.001533, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8118/0.813, allocations: 140.4 MB / 0.9489 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002436/0.8155, allocations: 1.318 MB / 0.9502 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009396/0.8165, allocations: 0.6909 MB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.8165, allocations: 0 / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.8166, allocations: 0 / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.8168, allocations: 16.61 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.41e-05/0.8169, allocations: 14.86 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.513e-05/0.8169, allocations: 12.05 kB / 0.9509 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.817, allocations: 5.172 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.381e-05/0.817, allocations: 6.375 kB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.8172, allocations: 4.812 kB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.8172, allocations: 3.984 kB / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.835e-05/0.8172, allocations: 13.7 kB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.8173, allocations: 1.594 kB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.8173, allocations: 5.469 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.078e-05/0.8174, allocations: 13.09 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8174, allocations: 4 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8174, allocations: 2.031 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.8174, allocations: 0 / 0.951 GB, free: 7.586 MB / 0.7169 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.0002404/0.8177, allocations: 323.3 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8177, allocations: 9.281 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.8177, allocations: 77.22 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.8179, allocations: 236.8 kB / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.8179, allocations: 163.9 kB / 0.9517 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.8179, allocations: 160.3 kB / 0.9519 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.705e-05/0.818, allocations: 101.5 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.818, allocations: 75.47 kB / 0.9521 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.818, allocations: 155.5 kB / 0.9522 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.818, allocations: 154.5 kB / 0.9524 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.8181, allocations: 156.2 kB / 0.9525 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.8183, allocations: 447 kB / 0.9529 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.579e-05/0.8183, allocations: 166.1 kB / 0.9531 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.8183, allocations: 80.14 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.8184, allocations: 80.59 kB / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.8184, allocations: 105.8 kB / 0.9534 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.8184, allocations: 1.781 kB / 0.9534 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.983e-05/0.8185, allocations: 39.02 kB / 0.9534 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.8185, allocations: 128.3 kB / 0.9535 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.8186, allocations: 96.33 kB / 0.9536 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.8186, allocations: 27.23 kB / 0.9536 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.8186, allocations: 84.14 kB / 0.9537 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.8186, allocations: 0 / 0.9537 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.8186, allocations: 16.75 kB / 0.9537 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.8187, allocations: 314.8 kB / 0.954 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.8187, allocations: 0 / 0.954 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.8187, allocations: 5.141 kB / 0.954 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.2e-05/0.8187, allocations: 76.41 kB / 0.9541 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.8187, allocations: 79.31 kB / 0.9542 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.224e-05/0.8188, allocations: 33.58 kB / 0.9542 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.8188, allocations: 79.69 kB / 0.9543 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.8189, allocations: 80.47 kB / 0.9544 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/0.8189, allocations: 152.1 kB / 0.9545 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.137e-05/0.8189, allocations: 79.22 kB / 0.9546 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.8189, allocations: 155.8 kB / 0.9547 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.8191, allocations: 84.62 kB / 0.9548 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.8191, allocations: 80.69 kB / 0.9549 GB, free: 3.379 MB / 0.7169 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 5.461e-05/0.8191, allocations: 259.8 kB / 0.9551 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.8192, allocations: 102.4 kB / 0.9552 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.8192, allocations: 117.2 kB / 0.9553 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.8192, allocations: 189.6 kB / 0.9555 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.362e-05/0.8193, allocations: 184.4 kB / 0.9557 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.8193, allocations: 181.7 kB / 0.9559 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.8194, allocations: 402.7 kB / 0.9563 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.8194, allocations: 106.3 kB / 0.9564 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.8195, allocations: 102.3 kB / 0.9565 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.901e-05/0.8195, allocations: 188.2 kB / 0.9566 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.8195, allocations: 185.6 kB / 0.9568 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.439e-05/0.8196, allocations: 181.7 kB / 0.957 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-05/0.8196, allocations: 180.2 kB / 0.9572 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.169e-05/0.8196, allocations: 308.1 kB / 0.9575 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.8197, allocations: 183.2 kB / 0.9576 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.8197, allocations: 181.7 kB / 0.9578 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.8198, allocations: 104.9 kB / 0.9579 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.8199, allocations: 177.5 kB / 0.9581 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.8199, allocations: 114.2 kB / 0.9582 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.82, allocations: 81.69 kB / 0.9583 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.82, allocations: 1.125 kB / 0.9583 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000273/0.8202, allocations: 5.203 kB / 0.9583 GB, free: 15.72 MB / 0.7325 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.0003064/0.8206, allocations: 193.1 kB / 0.9585 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.17e-05/0.8206, allocations: 0 / 0.9585 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8206, allocations: 5.219 kB / 0.9585 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.8206, allocations: 0 / 0.9585 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.821, allocations: 0.5209 MB / 0.959 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.8213, allocations: 164.6 kB / 0.9591 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.8216, allocations: 0.6749 MB / 0.9598 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.538e-05/0.8216, allocations: 1.344 kB / 0.9598 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.8216, allocations: 7.438 kB / 0.9598 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of SimCode: time 1.9e-07/0.8216, allocations: 1.219 kB / 0.9598 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.002273/0.8239, allocations: 317.4 kB / 0.9601 GB, free: 14 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches