Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009531/0.0009533, allocations: 193.3 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.064/2.064, allocations: 390.2 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 68.12 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4836, allocations: 140.4 MB / 0.9492 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001685/0.4854, allocations: 1.297 MB / 0.9505 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006679/0.486, allocations: 0.6957 MB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.4861, allocations: 1.25 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.4861, allocations: 0 / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.4863, allocations: 19.67 kB / 0.9512 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.585e-05/0.4863, allocations: 2.406 kB / 0.9512 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.179e-05/0.4864, allocations: 9.391 kB / 0.9512 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.945e-05/0.4864, allocations: 1.312 kB / 0.9512 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.4864, allocations: 9.219 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.4866, allocations: 13.27 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.4866, allocations: 0 / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.305e-05/0.4866, allocations: 12.95 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.4867, allocations: 2.438 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.4867, allocations: 1.625 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.16e-05/0.4867, allocations: 17.75 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4868, allocations: 0 / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4868, allocations: 1.344 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.4868, allocations: 0 / 0.9513 GB, free: 7.441 MB / 0.7169 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.0002126/0.487, allocations: 332.6 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.487, allocations: 8.719 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.959e-05/0.487, allocations: 106 kB / 0.9517 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.4871, allocations: 81.91 kB / 0.9518 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.645e-05/0.4872, allocations: 237 kB / 0.952 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.4872, allocations: 160.3 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.4872, allocations: 154.9 kB / 0.9523 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.081e-05/0.4873, allocations: 110.8 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4873, allocations: 79.22 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4873, allocations: 151.8 kB / 0.9526 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.4873, allocations: 150.6 kB / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.4873, allocations: 151.6 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.4875, allocations: 448 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.554e-05/0.4875, allocations: 174 kB / 0.9535 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.4875, allocations: 81.61 kB / 0.9536 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.4876, allocations: 76.47 kB / 0.9537 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.4876, allocations: 114.8 kB / 0.9538 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.4876, allocations: 0 / 0.9538 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.131e-05/0.4876, allocations: 30.7 kB / 0.9538 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.4877, allocations: 127.8 kB / 0.9539 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.168e-05/0.4877, allocations: 103.1 kB / 0.954 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.4877, allocations: 29.64 kB / 0.9541 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/0.4878, allocations: 85.67 kB / 0.9541 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.4878, allocations: 0 / 0.9541 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.4878, allocations: 19.22 kB / 0.9542 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.4878, allocations: 312.3 kB / 0.9545 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-06/0.4878, allocations: 0 / 0.9545 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.4878, allocations: 1.531 kB / 0.9545 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.008e-05/0.4879, allocations: 77.09 kB / 0.9545 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4879, allocations: 75.28 kB / 0.9546 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.155e-05/0.4879, allocations: 32.19 kB / 0.9546 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4879, allocations: 84.47 kB / 0.9547 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.488, allocations: 87.25 kB / 0.9548 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.488, allocations: 152 kB / 0.9549 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.735e-06/0.488, allocations: 76.81 kB / 0.955 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.488, allocations: 154.5 kB / 0.9552 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.878e-05/0.4881, allocations: 77.34 kB / 0.9552 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4881, allocations: 80.41 kB / 0.9553 GB, free: 3.117 MB / 0.7169 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 4.434e-05/0.4882, allocations: 265.8 kB / 0.9556 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.4882, allocations: 110.7 kB / 0.9557 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.887e-05/0.4882, allocations: 113.9 kB / 0.9558 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.4882, allocations: 180.5 kB / 0.956 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/0.4883, allocations: 181.7 kB / 0.9561 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.4883, allocations: 189.9 kB / 0.9563 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.4884, allocations: 403 kB / 0.9567 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.4884, allocations: 112.8 kB / 0.9568 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-06/0.4884, allocations: 102.5 kB / 0.9569 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.727e-05/0.4885, allocations: 181.6 kB / 0.9571 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.4885, allocations: 180.2 kB / 0.9572 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.62e-05/0.4885, allocations: 185.3 kB / 0.9574 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-05/0.4885, allocations: 185.3 kB / 0.9576 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.621e-05/0.4886, allocations: 299.5 kB / 0.9579 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.4886, allocations: 187.4 kB / 0.9581 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.4887, allocations: 189.4 kB / 0.9582 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.4887, allocations: 106 kB / 0.9583 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.4888, allocations: 177.3 kB / 0.9585 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.4888, allocations: 106.1 kB / 0.9586 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.4889, allocations: 87.23 kB / 0.9587 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.563e-06/0.4889, allocations: 0 / 0.9587 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002404/0.4891, allocations: 6.438 kB / 0.9587 GB, free: 15.45 MB / 0.7325 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.0004289/0.4895, allocations: 0.825 MB / 0.9595 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.281e-05/0.4896, allocations: 0.7188 kB / 0.9595 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4896, allocations: 5.531 kB / 0.9595 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.4896, allocations: 0 / 0.9595 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.4899, allocations: 461.2 kB / 0.96 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000931/0.4908, allocations: 1.557 MB / 0.9615 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.491, allocations: 0.6794 MB / 0.9621 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.114e-05/0.4911, allocations: 5.188 kB / 0.9621 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.4911, allocations: 9.281 kB / 0.9621 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.4911, allocations: 0 / 0.9621 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.5015, allocations: 1.096 MB / 0.9632 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.5017, allocations: 249.6 kB / 0.9635 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.106, allocations: 2.812 kB / 0.9635 GB, free: 11.11 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches