Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001142/0.001142, allocations: 107.4 kB / 16.37 MB, free: 6.477 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.001179/0.001179, allocations: 193.8 kB / 17.31 MB, free: 5.824 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 / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.56/2.56, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002911/0.002911, allocations: 68.89 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3882, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002516/0.3907, allocations: 1.244 MB / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3918, allocations: 0.7216 MB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.3919, allocations: 4 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.3919, allocations: 0 / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.3921, allocations: 23.92 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.408e-05/0.3922, allocations: 7.922 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.3923, allocations: 4 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.3923, allocations: 4 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.3924, allocations: 3.984 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3925, allocations: 7.938 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3925, allocations: 0 / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.3926, allocations: 15.98 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.3926, allocations: 3.984 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.3926, allocations: 0 / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.059e-05/0.3927, allocations: 11.94 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3927, allocations: 4 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3927, allocations: 0 / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.3927, allocations: 0 / 1.029 GB, free: 48 kB / 0.795 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.0003423/0.3931, allocations: 319.6 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3931, allocations: 8.031 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.3932, allocations: 80.22 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3934, allocations: 243.6 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/0.3934, allocations: 154.9 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.3935, allocations: 150.9 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.734e-05/0.3936, allocations: 105.5 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.3936, allocations: 75.47 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.3937, allocations: 154.5 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/0.3938, allocations: 158.5 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.775e-05/0.3938, allocations: 154.6 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.3941, allocations: 445.9 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.3942, allocations: 173.1 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.3943, allocations: 80.14 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.3943, allocations: 79.28 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.3944, allocations: 113.8 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3944, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.345e-05/0.3945, allocations: 37.69 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.3945, allocations: 126.7 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.3946, allocations: 101.8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.3946, allocations: 29.83 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.3947, allocations: 80.14 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3947, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.3947, allocations: 13.72 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3949, allocations: 310.8 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-06/0.3949, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.3949, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.3949, allocations: 79.22 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/0.395, allocations: 79.31 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.351e-05/0.395, allocations: 29.7 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/0.3951, allocations: 87.27 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.002e-05/0.3951, allocations: 83.22 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-05/0.3952, allocations: 154.5 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-05/0.3952, allocations: 75.28 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-05/0.3953, allocations: 158.5 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3954, allocations: 83.28 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.3955, allocations: 75.28 kB / 1.033 GB, free: 11.79 MB / 0.8106 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.0001282/0.3956, allocations: 264.4 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.3957, allocations: 108.9 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.3957, allocations: 112.2 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.687e-05/0.3958, allocations: 188.2 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.655e-05/0.3959, allocations: 180.3 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-05/0.396, allocations: 180.2 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.3962, allocations: 401.2 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.08e-05/0.3962, allocations: 101 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.3963, allocations: 116.9 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.214e-05/0.3964, allocations: 180.3 kB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.3964, allocations: 180.2 kB / 1.035 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.33e-05/0.3965, allocations: 184.2 kB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-05/0.3966, allocations: 180.3 kB / 1.035 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.3967, allocations: 311.7 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.3968, allocations: 182.1 kB / 1.035 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.3969, allocations: 184.1 kB / 1.036 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.397, allocations: 104.9 kB / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.397, allocations: 188.2 kB / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.3971, allocations: 101 kB / 1.036 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.3971, allocations: 83.28 kB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3971, allocations: 0 / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002704/0.3974, allocations: 4 kB / 1.036 GB, free: 8.105 MB / 0.8106 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.0003135/0.3977, allocations: 190.5 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.868e-05/0.3978, allocations: 3.938 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3978, allocations: 4.094 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.3978, allocations: 0 / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.3983, allocations: 461.1 kB / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.3986, allocations: 168.8 kB / 1.037 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3988, allocations: 0.6729 MB / 1.037 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.39e-05/0.3989, allocations: 4 kB / 1.037 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.3989, allocations: 11.44 kB / 1.037 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3989, allocations: 0 / 1.037 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of Templates: time 0.00221/0.4011, allocations: 330 kB / 1.038 GB, free: 6.262 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches