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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 212.3 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.202/3.202, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.52 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3629, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002514/0.3654, allocations: 1.261 MB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3667, allocations: 0.8028 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.3667, allocations: 3.938 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.3668, allocations: 4 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.367, allocations: 19.91 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.943e-05/0.3671, allocations: 4 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.3671, allocations: 7.938 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.3672, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.3672, allocations: 4 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.3673, allocations: 11.97 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3673, allocations: 3.938 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.916e-05/0.3674, allocations: 8 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.3674, allocations: 4 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.3674, allocations: 4 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.182e-05/0.3675, allocations: 20.19 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3675, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3675, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3675, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 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.0003632/0.3679, allocations: 246.4 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3679, allocations: 8.031 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.368, allocations: 110 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/0.3681, allocations: 80.22 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3682, allocations: 189.8 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-05/0.3683, allocations: 154.9 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.3684, allocations: 154.9 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.17e-05/0.3685, allocations: 101.5 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3685, allocations: 79.22 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.3686, allocations: 154.6 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/0.3686, allocations: 150.6 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.52e-05/0.3687, allocations: 154.5 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.369, allocations: 417 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3692, allocations: 169.2 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.3693, allocations: 88.14 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.3693, allocations: 75.28 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.3694, allocations: 109.8 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3694, allocations: 7.938 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.759e-05/0.3695, allocations: 37.59 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.3696, allocations: 126.7 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3697, allocations: 97.84 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3697, allocations: 25.7 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.3698, allocations: 89.2 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.3698, allocations: 0 / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.3698, allocations: 9.719 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.37, allocations: 310.8 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-06/0.37, allocations: 7.938 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.37, allocations: 29.7 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.37, allocations: 75.28 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.602e-05/0.3701, allocations: 75.28 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.497e-05/0.3701, allocations: 37.62 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.3702, allocations: 85.88 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.764e-05/0.3703, allocations: 83.28 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.842e-05/0.3703, allocations: 154.5 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.3704, allocations: 79.28 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-05/0.3705, allocations: 154.6 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.3707, allocations: 79.22 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.3707, allocations: 75.28 kB / 1.369 GB, free: 7.738 MB / 1.061 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.0001469/0.3708, allocations: 272.4 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.3709, allocations: 109.2 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.371, allocations: 116.1 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-05/0.3711, allocations: 180.3 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001047/0.3712, allocations: 184.2 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.087e-05/0.3713, allocations: 180.3 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.3715, allocations: 380.2 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.562e-05/0.3716, allocations: 101 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/0.3716, allocations: 105 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.383e-05/0.3717, allocations: 188.1 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.3718, allocations: 184.3 kB / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.833e-05/0.3719, allocations: 180.2 kB / 1.371 GB, free: 5.469 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.305e-05/0.372, allocations: 180.3 kB / 1.372 GB, free: 5.285 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.3722, allocations: 307.8 kB / 1.372 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.3722, allocations: 101 kB / 1.372 GB, free: 4.855 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3723, allocations: 192.1 kB / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.3724, allocations: 101 kB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.3725, allocations: 184.2 kB / 1.372 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.3726, allocations: 101 kB / 1.373 GB, free: 4.262 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.915e-05/0.3726, allocations: 83.28 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3726, allocations: 4 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002763/0.3729, allocations: 3.984 kB / 1.373 GB, free: 4.172 MB / 1.061 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.0007628/0.3737, allocations: 0.8165 MB / 1.373 GB, free: 3.324 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.037e-05/0.3737, allocations: 11.94 kB / 1.373 GB, free: 3.312 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3737, allocations: 0 / 1.373 GB, free: 3.312 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.3737, allocations: 0 / 1.373 GB, free: 3.312 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3741, allocations: 457.9 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.3758, allocations: 1.556 MB / 1.375 GB, free: 1.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.94e-05/0.3758, allocations: 59.34 kB / 1.376 GB, free: 1.152 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.786e-05/0.3759, allocations: 4 kB / 1.376 GB, free: 1.148 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3759, allocations: 15.38 kB / 1.376 GB, free: 1.133 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.3759, allocations: 0 / 1.376 GB, free: 1.133 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4053, allocations: 1.689 MB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.19, allocations: 6.562 kB / 1.377 GB, free: 15.61 MB / 1.076 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.901852763723582]