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.008794/0.008794, allocations: 102.4 kB / 15.74 MB, free: 6.039 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.001756/0.001756, allocations: 200.6 kB / 16.68 MB, free: 5.965 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.52/2.52, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.41 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.304, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002286/0.3063, allocations: 1.25 MB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3074, allocations: 0.7157 MB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.3074, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.3074, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.3077, allocations: 19.91 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.267e-05/0.3078, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.997e-05/0.3078, allocations: 15.94 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.3079, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.3079, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3081, allocations: 11.97 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.3081, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.3082, allocations: 11.94 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.3082, allocations: 3.984 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.3082, allocations: 3.938 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.3083, allocations: 11.98 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3084, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3084, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3084, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 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.0003177/0.3087, allocations: 311.5 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3087, allocations: 8.031 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.3088, allocations: 84.16 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.309, allocations: 239.7 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.3091, allocations: 154.9 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.3091, allocations: 154.9 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.131e-05/0.3092, allocations: 103 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.3092, allocations: 79.47 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.3093, allocations: 154.5 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.3093, allocations: 150.6 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.759e-05/0.3094, allocations: 154.5 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.3097, allocations: 449.9 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.829e-05/0.3098, allocations: 169.1 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.3099, allocations: 80.14 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3099, allocations: 75.28 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/0.31, allocations: 109.8 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.434e-06/0.31, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.517e-05/0.3101, allocations: 45.52 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.3101, allocations: 126.7 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3103, allocations: 97.84 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3103, allocations: 25.7 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.3103, allocations: 80.14 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.3103, allocations: 4.125 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.3104, allocations: 9.719 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3105, allocations: 318.8 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.3105, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/0.3105, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.3106, allocations: 75.28 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.348e-05/0.3106, allocations: 75.28 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.999e-05/0.3106, allocations: 41.58 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.3107, allocations: 84.56 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.3107, allocations: 83.22 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.941e-05/0.3108, allocations: 158.5 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.225e-05/0.3108, allocations: 75.28 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.599e-05/0.3109, allocations: 150.6 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.311, allocations: 91.16 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3111, allocations: 79.28 kB / 1.094 GB, free: 11.2 MB / 0.8575 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.0001213/0.3112, allocations: 260.4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.3113, allocations: 109.1 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.3113, allocations: 108 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.84e-05/0.3114, allocations: 188.3 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.272e-05/0.3115, allocations: 192.2 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-05/0.3115, allocations: 180.3 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.3118, allocations: 397.2 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/0.3118, allocations: 105 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.3119, allocations: 109 kB / 1.095 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.259e-05/0.312, allocations: 180.2 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.644e-05/0.312, allocations: 184.2 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.623e-05/0.3121, allocations: 180.2 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.191e-05/0.3122, allocations: 184.3 kB / 1.096 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.3123, allocations: 307.8 kB / 1.096 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.3124, allocations: 182.1 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.3125, allocations: 184.1 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.3126, allocations: 108.9 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.3127, allocations: 188.2 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.3127, allocations: 101 kB / 1.097 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.3128, allocations: 79.28 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3128, allocations: 4.094 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002829/0.3131, allocations: 0 / 1.097 GB, free: 7.516 MB / 0.8575 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.0003097/0.3134, allocations: 190.5 kB / 1.097 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.771e-05/0.3134, allocations: 3.984 kB / 1.097 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3135, allocations: 0 / 1.097 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-06/0.3135, allocations: 3.938 kB / 1.097 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3138, allocations: 464.9 kB / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.3141, allocations: 163 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3144, allocations: 0.6768 MB / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.3144, allocations: 0 / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.3144, allocations: 7.438 kB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3144, allocations: 4 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of Templates: time 0.002295/0.3167, allocations: 321.6 kB / 1.099 GB, free: 5.676 MB / 0.8575 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