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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001212/0.001212, allocations: 100.3 kB / 16.35 MB, free: 6.285 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.001251/0.001251, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.94 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2799, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.004065/0.2841, allocations: 1.236 MB / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2855, allocations: 0.7252 MB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.2856, allocations: 0 / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.2857, allocations: 0 / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.286, allocations: 11.94 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.2861, allocations: 11.97 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.2862, allocations: 11.88 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.2862, allocations: 4 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.2863, allocations: 4 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.2864, allocations: 21.97 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2865, allocations: 0 / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.2865, allocations: 4 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.2866, allocations: 3.984 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.2866, allocations: 4 kB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.2867, allocations: 11.92 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2867, allocations: 0 / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2867, allocations: 0 / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2868, allocations: 0 / 0.9531 GB, free: 5.973 MB / 0.7325 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.0003633/0.2871, allocations: 319.5 kB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2872, allocations: 16.03 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.813e-05/0.2873, allocations: 80.16 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.2874, allocations: 239.7 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/0.2875, allocations: 150.9 kB / 0.9539 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.2876, allocations: 154.9 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.563e-05/0.2877, allocations: 101.5 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.2877, allocations: 83.47 kB / 0.9542 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.2877, allocations: 158.5 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.167e-05/0.2878, allocations: 150.6 kB / 0.9545 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.811e-05/0.2879, allocations: 154.5 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.2882, allocations: 442 kB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.2883, allocations: 177.1 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.2883, allocations: 80.14 kB / 0.9553 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.2884, allocations: 75.28 kB / 0.9554 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.2884, allocations: 109.8 kB / 0.9555 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.2884, allocations: 3.938 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.394e-05/0.2885, allocations: 41.62 kB / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.2886, allocations: 126.7 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.2887, allocations: 97.86 kB / 0.9558 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2887, allocations: 25.7 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.2888, allocations: 84.12 kB / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.2888, allocations: 0 / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.2888, allocations: 13.72 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2889, allocations: 315 kB / 0.9562 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-06/0.2889, allocations: 0 / 0.9562 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.289, allocations: 0 / 0.9562 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.289, allocations: 79.28 kB / 0.9562 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.587e-05/0.289, allocations: 79.28 kB / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.996e-05/0.2891, allocations: 29.64 kB / 0.9564 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.2892, allocations: 87.22 kB / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.2892, allocations: 79.22 kB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.978e-05/0.2893, allocations: 162.5 kB / 0.9567 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.504e-05/0.2893, allocations: 75.28 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.991e-05/0.2894, allocations: 154.6 kB / 0.9569 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2895, allocations: 79.22 kB / 0.957 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.2895, allocations: 75.28 kB / 0.957 GB, free: 1.719 MB / 0.7325 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.0001406/0.2897, allocations: 268.4 kB / 0.9573 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.2897, allocations: 108.9 kB / 0.9574 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.2898, allocations: 108.2 kB / 0.9575 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.937e-05/0.2899, allocations: 184.3 kB / 0.9577 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.763e-05/0.29, allocations: 180.2 kB / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-05/0.29, allocations: 180.3 kB / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.2903, allocations: 409.2 kB / 0.9584 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.37e-05/0.2903, allocations: 101 kB / 0.9585 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.2904, allocations: 105 kB / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.391e-05/0.2905, allocations: 188.2 kB / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.809e-05/0.2906, allocations: 188.2 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.588e-05/0.2907, allocations: 188.2 kB / 0.9591 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.56e-05/0.2907, allocations: 176.3 kB / 0.9593 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.2909, allocations: 307.8 kB / 0.9596 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.291, allocations: 178.1 kB / 0.9598 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/0.2911, allocations: 188.1 kB / 0.96 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.2912, allocations: 109 kB / 0.9601 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.2913, allocations: 180.2 kB / 0.9602 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.2913, allocations: 105 kB / 0.9603 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.2914, allocations: 83.28 kB / 0.9604 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2914, allocations: 0 / 0.9604 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002892/0.2917, allocations: 7.938 kB / 0.9604 GB, free: 14.03 MB / 0.7481 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.0003306/0.292, allocations: 194.5 kB / 0.9606 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.281e-05/0.2921, allocations: 0 / 0.9606 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2921, allocations: 0 / 0.9606 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.2921, allocations: 3.938 kB / 0.9606 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2925, allocations: 461.6 kB / 0.961 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.2928, allocations: 164.8 kB / 0.9612 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.293, allocations: 0.6844 MB / 0.9619 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.658e-05/0.2931, allocations: 0 / 0.9619 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.2931, allocations: 7.438 kB / 0.9619 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of SimCode: time 1.9e-07/0.2931, allocations: 0 / 0.9619 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of Templates: time 0.002373/0.2955, allocations: 319.8 kB / 0.9622 GB, free: 12.19 MB / 0.7481 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 -s cvode -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/jenkins1/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