Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.001413/0.001413, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001705/0.001705, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 8.023 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.395/3.395, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.002112/0.002112, allocations: 66.42 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3737, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002931/0.3766, allocations: 1.294 MB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3779, allocations: 0.8258 MB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.378, allocations: 3.938 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.378, allocations: 0 / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.3782, allocations: 7.938 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3784, allocations: 49.92 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.358e-05/0.3785, allocations: 27.91 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.3785, allocations: 0 / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.783e-05/0.3786, allocations: 8 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.3787, allocations: 15.91 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3788, allocations: 8 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.526e-05/0.3788, allocations: 7.938 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.3789, allocations: 11.98 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.3789, allocations: 7.922 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.379, allocations: 20.2 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.379, allocations: 0 / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.114e-06/0.379, allocations: 3.938 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.379, allocations: 0 / 1.355 GB, free: 6.184 MB / 1.045 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.000471/0.3795, allocations: 250.4 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.3796, allocations: 12.03 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.312e-05/0.3797, allocations: 114 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.3798, allocations: 76.22 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.38, allocations: 193.7 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.3801, allocations: 158.9 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.3802, allocations: 150.9 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3803, allocations: 109.5 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/0.3804, allocations: 83.22 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.3804, allocations: 150.6 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.36e-05/0.3805, allocations: 150.6 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.274e-05/0.3806, allocations: 150.6 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.3811, allocations: 429 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3812, allocations: 173.1 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.3812, allocations: 80.14 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.3813, allocations: 75.28 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.508e-05/0.3813, allocations: 109.8 kB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.3813, allocations: 0 / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001093/0.3815, allocations: 33.64 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.3815, allocations: 126.7 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3817, allocations: 105.8 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.3817, allocations: 33.64 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.3818, allocations: 80.14 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.3818, allocations: 0 / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.3819, allocations: 21.7 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.382, allocations: 314.8 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.3821, allocations: 4 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.3821, allocations: 11.98 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.655e-05/0.3821, allocations: 16.86 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3821, allocations: 0 / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000155/0.3823, allocations: 41.64 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3823, allocations: 11.94 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3823, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.3823, allocations: 8.062 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-06/0.3823, allocations: 3.938 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3824, allocations: 0 / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.3826, allocations: 256 / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.3826, allocations: 11.97 kB / 1.358 GB, free: 2.754 MB / 1.045 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 0.0001423/0.3827, allocations: 185.7 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.3828, allocations: 112.9 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-05/0.3829, allocations: 108.5 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.943e-05/0.383, allocations: 188.2 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.246e-05/0.3831, allocations: 180.8 kB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/0.3832, allocations: 180.2 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.3835, allocations: 380.2 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.526e-05/0.3836, allocations: 101 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.3836, allocations: 109.1 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-05/0.3837, allocations: 192.3 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-05/0.3838, allocations: 184.2 kB / 1.36 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-05/0.3839, allocations: 180.2 kB / 1.36 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.388e-05/0.384, allocations: 180.2 kB / 1.36 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.3842, allocations: 303.8 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.3843, allocations: 112.9 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.801e-05/0.3844, allocations: 180.2 kB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.3845, allocations: 104.9 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.3845, allocations: 180.3 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.3846, allocations: 109 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.3846, allocations: 83.27 kB / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3846, allocations: 0 / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002697/0.3849, allocations: 4 kB / 1.361 GB, free: 15.27 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.0006507/0.3856, allocations: 0.8281 MB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.3857, allocations: 4 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.3857, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.3857, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3861, allocations: 467.6 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3874, allocations: 1.299 MB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3877, allocations: 0.6767 MB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.3877, allocations: 4 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.3877, allocations: 7.438 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.3877, allocations: 0 / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.4188, allocations: 1.372 MB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.38, allocations: 6.25 kB / 1.366 GB, free: 10.65 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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: 18.593135682865977]