Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01251/0.01251, allocations: 169.3 kB / 16.26 MB, free: 6.328 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.548/2.548, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005975/0.0005976, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8534/0.854, allocations: 142.4 MB / 0.955 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001458/0.8555, allocations: 0.9976 MB / 0.956 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.8566, allocations: 0.7141 MB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.8567, allocations: 0 / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.8567, allocations: 0 / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.8569, allocations: 15.02 kB / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.8571, allocations: 46.41 kB / 0.9568 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.8572, allocations: 26.83 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.8572, allocations: 9.219 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.8573, allocations: 11.69 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.8574, allocations: 9.375 kB / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.8575, allocations: 0 / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.8575, allocations: 18.44 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.8576, allocations: 10.22 kB / 0.9568 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.8576, allocations: 33.06 kB / 0.9569 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.8577, allocations: 30.03 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8577, allocations: 1.094 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8577, allocations: 0 / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.8578, allocations: 0 / 0.9569 GB, free: 6.234 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.0002571/0.858, allocations: 319.1 kB / 0.9572 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.8581, allocations: 16.73 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.8581, allocations: 77.31 kB / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.8582, allocations: 245.5 kB / 0.9575 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.8583, allocations: 151.9 kB / 0.9577 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.8583, allocations: 152 kB / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.374e-05/0.8583, allocations: 106.5 kB / 0.9579 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.8584, allocations: 79.47 kB / 0.958 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.8584, allocations: 154.5 kB / 0.9582 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.8584, allocations: 151.4 kB / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.325e-05/0.8585, allocations: 155.7 kB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.8587, allocations: 448.8 kB / 0.9589 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.8587, allocations: 174.2 kB / 0.959 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.8588, allocations: 82.78 kB / 0.9591 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.8588, allocations: 75.28 kB / 0.9592 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.8588, allocations: 111.1 kB / 0.9593 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.8588, allocations: 0 / 0.9593 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.852e-05/0.8589, allocations: 42.77 kB / 0.9593 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.8589, allocations: 127.7 kB / 0.9595 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.859, allocations: 110.1 kB / 0.9596 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.8591, allocations: 29.64 kB / 0.9596 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.8591, allocations: 81.33 kB / 0.9597 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.8591, allocations: 0 / 0.9597 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.8591, allocations: 10.75 kB / 0.9597 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.8592, allocations: 312 kB / 0.96 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.8592, allocations: 7.562 kB / 0.96 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.8592, allocations: 14.7 kB / 0.96 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.8593, allocations: 11.39 kB / 0.96 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8593, allocations: 1.312 kB / 0.96 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001141/0.8594, allocations: 39.75 kB / 0.96 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.8594, allocations: 7.094 kB / 0.9601 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.8594, allocations: 3.938 kB / 0.9601 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.8595, allocations: 0 / 0.9601 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.8595, allocations: 9.094 kB / 0.9601 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.8595, allocations: 0 / 0.9601 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.8596, allocations: 5.828 kB / 0.9601 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.8596, allocations: 6.172 kB / 0.9601 GB, free: 2.832 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 (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 7.814e-05/0.8597, allocations: 187.3 kB / 0.9603 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.8598, allocations: 106 kB / 0.9604 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.8598, allocations: 113.1 kB / 0.9605 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.8598, allocations: 189.1 kB / 0.9606 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.65e-05/0.8599, allocations: 177.5 kB / 0.9608 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/0.8599, allocations: 185.3 kB / 0.961 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.8601, allocations: 401 kB / 0.9614 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/0.8601, allocations: 105 kB / 0.9615 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.8601, allocations: 110.3 kB / 0.9616 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-05/0.8601, allocations: 181.6 kB / 0.9618 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.8602, allocations: 185.2 kB / 0.9619 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.719e-05/0.8602, allocations: 181.3 kB / 0.9621 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.987e-05/0.8603, allocations: 185.4 kB / 0.9623 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.737e-05/0.8604, allocations: 307.9 kB / 0.9626 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.8605, allocations: 187.5 kB / 0.9628 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.8606, allocations: 185.4 kB / 0.9629 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.8606, allocations: 114.2 kB / 0.963 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.8607, allocations: 181.8 kB / 0.9632 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.8608, allocations: 105 kB / 0.9633 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.8608, allocations: 84.77 kB / 0.9634 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8608, allocations: 0 / 0.9634 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002456/0.8611, allocations: 7.938 kB / 0.9634 GB, free: 15.23 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.0003429/0.8614, allocations: 190 kB / 0.9636 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.371e-05/0.8615, allocations: 10.38 kB / 0.9636 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8615, allocations: 4.062 kB / 0.9636 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/0.8616, allocations: 0 / 0.9636 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.862, allocations: 0.5211 MB / 0.9641 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.8624, allocations: 177.1 kB / 0.9643 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.8627, allocations: 0.6808 MB / 0.9649 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.783e-05/0.8627, allocations: 1.312 kB / 0.9649 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.8627, allocations: 11.38 kB / 0.9649 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of SimCode: time 4.5e-07/0.8627, allocations: 0 / 0.9649 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of Templates: time 0.002834/0.8655, allocations: 417.7 kB / 0.9653 GB, free: 13.44 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches