Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.000812/0.000812, allocations: 72.45 kB / 19.17 MB, free: 0.7148 MB / 13.93 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.0008017/0.0008017, allocations: 169.9 kB / 22.46 MB, free: 2.07 MB / 18.57 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 0.8782/0.8782, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.71/1.71, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.084e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001709/0.00173, allocations: 1.289 MB / 0.9822 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.002596, allocations: 0.8297 MB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.002619, allocations: 0 / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.002648, allocations: 3.938 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.002876, allocations: 4 kB / 0.983 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.003008, allocations: 65.61 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.003077, allocations: 23.91 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.003113, allocations: 4 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.003177, allocations: 11.98 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.003244, allocations: 11.92 kB / 0.9832 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.003258, allocations: 0 / 0.9832 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.234e-05/0.003291, allocations: 4 kB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.003333, allocations: 7.984 kB / 0.9832 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.003355, allocations: 8 kB / 0.9832 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.296e-05/0.003438, allocations: 27.84 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.00344, allocations: 0 / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003441, allocations: 4 kB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003445, allocations: 0 / 0.9832 GB, free: 288 kB / 0.9323 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.0002402/0.003685, allocations: 250.4 kB / 0.9834 GB, free: 4 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.003731, allocations: 16.02 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.003768, allocations: 110 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.003815, allocations: 80.17 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/0.003902, allocations: 185.1 kB / 0.9838 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.00394, allocations: 150.9 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.003979, allocations: 158.9 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.679e-05/0.004026, allocations: 101.5 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.004045, allocations: 79.47 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.00408, allocations: 154.9 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.004114, allocations: 154.7 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.004152, allocations: 158.5 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.004345, allocations: 425 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.514e-05/0.0044, allocations: 165.1 kB / 0.9853 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.004423, allocations: 80.14 kB / 0.9854 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.004444, allocations: 79.28 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.004476, allocations: 113.8 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.004477, allocations: 0 / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.589e-05/0.004533, allocations: 33.69 kB / 0.9856 GB, free: 13.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.004574, allocations: 134.6 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.00473, allocations: 109.8 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.00474, allocations: 25.7 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.004768, allocations: 80.14 kB / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.00477, allocations: 0 / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.004799, allocations: 21.67 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.004868, allocations: 314.8 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.004883, allocations: 7.984 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.00491, allocations: 29.7 kB / 0.9863 GB, free: 12.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.005073, allocations: 28.88 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005075, allocations: 3.938 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.655e-05/0.005161, allocations: 37.7 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.005172, allocations: 4 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.005178, allocations: 0 / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.00519, allocations: 0 / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.005192, allocations: 7.938 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.005197, allocations: 0 / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.005263, allocations: 3.984 kB / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.00527, allocations: 3.984 kB / 0.9864 GB, free: 12.83 MB / 0.948 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 6.489e-05/0.005335, allocations: 189.2 kB / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.005371, allocations: 113 kB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.005402, allocations: 112.4 kB / 0.9868 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/0.005439, allocations: 176.3 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.019e-05/0.005479, allocations: 192.2 kB / 0.9871 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.834e-05/0.005517, allocations: 176.3 kB / 0.9873 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.005655, allocations: 380.2 kB / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/0.005678, allocations: 101 kB / 0.9877 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/0.005701, allocations: 105.2 kB / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.551e-05/0.005746, allocations: 180.2 kB / 0.988 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.005791, allocations: 188.2 kB / 0.9882 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.995e-05/0.00583, allocations: 188.2 kB / 0.9884 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.813e-05/0.005869, allocations: 180.2 kB / 0.9885 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.143e-05/0.00595, allocations: 303.7 kB / 0.9888 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.005995, allocations: 112.9 kB / 0.9889 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.006042, allocations: 184.2 kB / 0.9891 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.006088, allocations: 105 kB / 0.9892 GB, free: 9.727 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.006134, allocations: 184.1 kB / 0.9894 GB, free: 9.539 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.006156, allocations: 101 kB / 0.9895 GB, free: 9.434 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.006188, allocations: 91.27 kB / 0.9896 GB, free: 9.344 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006188, allocations: 0 / 0.9896 GB, free: 9.344 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001501/0.006338, allocations: 8 kB / 0.9896 GB, free: 9.336 MB / 0.948 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.0003681/0.006706, allocations: 0.8167 MB / 0.9904 GB, free: 8.492 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.218e-05/0.006768, allocations: 8 kB / 0.9904 GB, free: 8.484 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.00677, allocations: 0 / 0.9904 GB, free: 8.484 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.006771, allocations: 0 / 0.9904 GB, free: 8.484 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.007004, allocations: 467.6 kB / 0.9908 GB, free: 8.023 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.007704, allocations: 1.295 MB / 0.9921 GB, free: 6.645 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.966e-05/0.007743, allocations: 59.34 kB / 0.9921 GB, free: 6.566 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.007758, allocations: 3.984 kB / 0.9922 GB, free: 6.562 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.007779, allocations: 8.5 kB / 0.9922 GB, free: 6.555 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.007779, allocations: 0 / 0.9922 GB, free: 6.555 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02268, allocations: 1.938 MB / 0.9941 GB, free: 4.781 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/6.676, allocations: 15.3 kB / 0.9941 GB, free: 4.77 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 10.716497704386711]