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.001492/0.001492, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002068/0.002068, allocations: 218.6 kB / 22.25 MB, free: 5.105 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.793 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 3.138/3.138, allocations: 0.49 GB / 0.7951 GB, free: 35.59 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="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: 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.002119/0.002119, allocations: 71.11 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4205, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002747/0.4233, allocations: 1.277 MB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.4246, allocations: 0.8262 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.4246, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.4246, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.4249, allocations: 11.92 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.4251, allocations: 47.81 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.306e-05/0.4251, allocations: 31.86 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.4252, allocations: 3.984 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.4252, allocations: 15.98 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.4253, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.4253, allocations: 7.938 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-05/0.4254, allocations: 7.984 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.4254, allocations: 7.922 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.4255, allocations: 8 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.4256, allocations: 28.12 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4256, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4256, allocations: 4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4256, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 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.0003421/0.4259, allocations: 250.4 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.426, allocations: 12.03 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.061e-05/0.426, allocations: 106 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.4261, allocations: 76.22 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.4263, allocations: 189.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.326e-05/0.4264, allocations: 150.9 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.4264, allocations: 154.9 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.407e-05/0.4265, allocations: 105.5 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.492e-05/0.4266, allocations: 91.22 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.4266, allocations: 154.6 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.435e-05/0.4267, allocations: 150.6 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.4267, allocations: 158.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.4271, allocations: 425 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.862e-05/0.4272, allocations: 169.1 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.4272, allocations: 84.14 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.4272, allocations: 75.28 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.4273, allocations: 109.8 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.4273, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.901e-05/0.4274, allocations: 33.64 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.4275, allocations: 134.6 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4276, allocations: 105.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.4276, allocations: 25.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.4277, allocations: 80.14 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.4277, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.4277, allocations: 25.64 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4279, allocations: 314.8 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.4279, allocations: 4 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.4279, allocations: 33.69 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.428, allocations: 16.86 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.428, allocations: 4.094 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.4281, allocations: 49.61 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4281, allocations: 7.938 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4281, allocations: 0 / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4281, allocations: 4 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.4281, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4281, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.4282, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.4283, allocations: 7.984 kB / 1.331 GB, free: 11.75 MB / 1.029 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.0001254/0.4284, allocations: 185.2 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.4285, allocations: 112.9 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.4285, allocations: 112.4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.079e-05/0.4286, allocations: 180.2 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-05/0.4287, allocations: 180.3 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.043e-05/0.4288, allocations: 180.2 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.429, allocations: 376.3 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.656e-05/0.4291, allocations: 104.9 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.4291, allocations: 109 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.98e-05/0.4292, allocations: 180.4 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.639e-05/0.4293, allocations: 184.3 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-05/0.4294, allocations: 192.5 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.793e-05/0.4295, allocations: 184.2 kB / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.4296, allocations: 299.8 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.4297, allocations: 116.9 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/0.4298, allocations: 184.1 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.43, allocations: 108.9 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.4301, allocations: 176.3 kB / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.4302, allocations: 101 kB / 1.334 GB, free: 8.348 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.4302, allocations: 95.2 kB / 1.334 GB, free: 8.254 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4302, allocations: 0 / 1.334 GB, free: 8.254 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002598/0.4305, allocations: 4 kB / 1.334 GB, free: 8.25 MB / 1.029 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.0007482/0.4313, allocations: 0.8282 MB / 1.335 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.752e-05/0.4313, allocations: 4 kB / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4313, allocations: 0 / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-06/0.4313, allocations: 3.938 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.4318, allocations: 456.6 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.433, allocations: 1.295 MB / 1.337 GB, free: 5.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.887e-05/0.433, allocations: 59.34 kB / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.608e-05/0.433, allocations: 0 / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.4331, allocations: 15.44 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.4331, allocations: 0 / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.4641, allocations: 1.804 MB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.39, allocations: 4.781 kB / 1.339 GB, free: 3.805 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.216796907014214]