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.00213/0.00213, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002627/0.002627, allocations: 215 kB / 20.13 MB, free: 2.949 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.942/2.942, allocations: 0.49 GB / 0.7923 GB, free: 1.527 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="cs",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.002116/0.002116, allocations: 63.91 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9336/0.9357, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002178/0.9379, allocations: 1.283 MB / 1.323 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.9388, allocations: 0.7499 MB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.9389, allocations: 0 / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.9389, allocations: 0 / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.9391, allocations: 9.344 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.9393, allocations: 45.17 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.9394, allocations: 25.08 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.9394, allocations: 4 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.9395, allocations: 17.91 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.9396, allocations: 10.92 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.9397, allocations: 6.625 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.234e-05/0.9397, allocations: 10.12 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.9398, allocations: 2.594 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.9398, allocations: 8.969 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.313e-05/0.9399, allocations: 28.62 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.9399, allocations: 4 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9399, allocations: 0 / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.9399, allocations: 0 / 1.324 GB, free: 23.22 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.0002936/0.9402, allocations: 324.6 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9402, allocations: 18.33 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.999e-05/0.9403, allocations: 75.47 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.351e-05/0.9403, allocations: 106 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.9403, allocations: 81.92 kB / 1.324 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.9404, allocations: 246.4 kB / 1.324 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.9404, allocations: 150.9 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.9405, allocations: 158.9 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.901e-05/0.9405, allocations: 108.2 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.9405, allocations: 79.22 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.9405, allocations: 150.6 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.9406, allocations: 150.6 kB / 1.325 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.9406, allocations: 150.6 kB / 1.325 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.9408, allocations: 459 kB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.9408, allocations: 176.5 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.9408, allocations: 80.14 kB / 1.326 GB, free: 20.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.9408, allocations: 75.28 kB / 1.326 GB, free: 20.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.9409, allocations: 116.5 kB / 1.326 GB, free: 20.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.9409, allocations: 0 / 1.326 GB, free: 20.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.695e-05/0.9409, allocations: 31.27 kB / 1.326 GB, free: 20.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.941, allocations: 130.6 kB / 1.326 GB, free: 20.26 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.9411, allocations: 105.4 kB / 1.326 GB, free: 20.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.9411, allocations: 28.39 kB / 1.326 GB, free: 20.13 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.9411, allocations: 84.14 kB / 1.327 GB, free: 20.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-06/0.9411, allocations: 4 kB / 1.327 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.9411, allocations: 18.59 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.9412, allocations: 310.8 kB / 1.327 GB, free: 19.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.9412, allocations: 9.875 kB / 1.327 GB, free: 19.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.9412, allocations: 12.06 kB / 1.327 GB, free: 19.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.9412, allocations: 14.08 kB / 1.327 GB, free: 19.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9412, allocations: 2.969 kB / 1.327 GB, free: 19.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.609e-05/0.9413, allocations: 39.39 kB / 1.327 GB, free: 19.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.9413, allocations: 13.31 kB / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9413, allocations: 256 / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9414, allocations: 3.422 kB / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.9414, allocations: 4 kB / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.9414, allocations: 0 / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/0.9414, allocations: 6.391 kB / 1.327 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.9415, allocations: 2.375 kB / 1.327 GB, free: 19.64 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 (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 5.516e-05/0.9415, allocations: 193.4 kB / 1.327 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.9415, allocations: 112.2 kB / 1.327 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.9416, allocations: 115 kB / 1.327 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.9416, allocations: 176.3 kB / 1.328 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.48e-05/0.9416, allocations: 178.5 kB / 1.328 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/0.9416, allocations: 183.5 kB / 1.328 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.9418, allocations: 407 kB / 1.328 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.9418, allocations: 107.4 kB / 1.328 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.9418, allocations: 101 kB / 1.328 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.29e-05/0.9418, allocations: 184.2 kB / 1.329 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.9419, allocations: 185.7 kB / 1.329 GB, free: 17.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.109e-05/0.9419, allocations: 176.3 kB / 1.329 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.091e-05/0.9419, allocations: 190.8 kB / 1.329 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.212e-05/0.942, allocations: 309.5 kB / 1.329 GB, free: 16.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.942, allocations: 184.9 kB / 1.33 GB, free: 16.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.942, allocations: 176.3 kB / 1.33 GB, free: 16.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.256e-05/0.9421, allocations: 115 kB / 1.33 GB, free: 16.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.9421, allocations: 180.3 kB / 1.33 GB, free: 16.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.9421, allocations: 108.9 kB / 1.33 GB, free: 16.15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.9422, allocations: 83.77 kB / 1.33 GB, free: 16.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9422, allocations: 0 / 1.33 GB, free: 16.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000214/0.9424, allocations: 2.812 kB / 1.33 GB, free: 16.07 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.0004092/0.9428, allocations: 0.8268 MB / 1.331 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.197e-05/0.9429, allocations: 9.719 kB / 1.331 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9429, allocations: 0 / 1.331 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.9429, allocations: 3.938 kB / 1.331 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.9431, allocations: 468.3 kB / 1.332 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.9439, allocations: 1.281 MB / 1.333 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.944, allocations: 0.6752 MB / 1.333 GB, free: 12.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.14e-05/0.944, allocations: 6.922 kB / 1.333 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.944, allocations: 7.438 kB / 1.334 GB, free: 12.8 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.944, allocations: 0 / 1.334 GB, free: 12.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.9666, allocations: 1.338 MB / 1.335 GB, free: 12.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/9.093, allocations: 16.94 kB / 1.335 GB, free: 12.43 MB / 1.061 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.726526630984154]