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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0006962/0.0006962, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005037/0.005037, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.171/1.171, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.039/2.039, allocations: 390.9 MB / 0.6664 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 8.281 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.5233, allocations: 142.4 MB / 0.9552 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.0008026/0.5241, allocations: 0.9711 MB / 0.9561 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00065/0.5247, allocations: 0.6833 MB / 0.9568 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-06/0.5248, allocations: 0 / 0.9568 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.5248, allocations: 3.984 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.5249, allocations: 16.42 kB / 0.9568 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.973e-05/0.5249, allocations: 10.78 kB / 0.9568 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.24e-05/0.525, allocations: 15.98 kB / 0.9568 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.221e-05/0.525, allocations: 1.219 kB / 0.9568 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.068e-05/0.525, allocations: 6.516 kB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.5251, allocations: 9.906 kB / 0.9568 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.5251, allocations: 5.156 kB / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.907e-05/0.5252, allocations: 8.75 kB / 0.9569 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.5252, allocations: 10.38 kB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.5252, allocations: 32.11 kB / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.211e-05/0.5253, allocations: 8.844 kB / 0.9569 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.5253, allocations: 1.281 kB / 0.9569 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5253, allocations: 4 kB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.963e-06/0.5253, allocations: 0 / 0.9569 GB, free: 6.203 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.0001549/0.5254, allocations: 327.8 kB / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.654e-05/0.5255, allocations: 9.781 kB / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.737e-05/0.5255, allocations: 106 kB / 0.9573 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.5255, allocations: 77.78 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.361e-05/0.5256, allocations: 241.8 kB / 0.9576 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.5257, allocations: 158.9 kB / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.5257, allocations: 155.9 kB / 0.9579 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.528e-05/0.5257, allocations: 107 kB / 0.958 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5257, allocations: 83.22 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.5257, allocations: 150.6 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.5258, allocations: 151.8 kB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.5258, allocations: 154.6 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.5259, allocations: 448.2 kB / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.71e-05/0.526, allocations: 170.4 kB / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.209e-05/0.526, allocations: 81.55 kB / 0.9592 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.526, allocations: 79.28 kB / 0.9593 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.526, allocations: 105.8 kB / 0.9594 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.526, allocations: 1.531 kB / 0.9594 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 4.837e-05/0.5261, allocations: 44.09 kB / 0.9594 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.5261, allocations: 126.7 kB / 0.9596 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.5261, allocations: 100.1 kB / 0.9597 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.5262, allocations: 29.7 kB / 0.9597 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/0.5262, allocations: 85.17 kB / 0.9598 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.42e-07/0.5262, allocations: 0 / 0.9598 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.5262, allocations: 9.719 kB / 0.9598 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.076e-05/0.5262, allocations: 315.9 kB / 0.9601 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-06/0.5262, allocations: 0 / 0.9601 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.5263, allocations: 1.469 kB / 0.9601 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.768e-06/0.5263, allocations: 76.72 kB / 0.9602 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.5263, allocations: 75.28 kB / 0.9602 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.159e-05/0.5263, allocations: 32.64 kB / 0.9603 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5263, allocations: 86.5 kB / 0.9603 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5264, allocations: 79.22 kB / 0.9604 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5264, allocations: 152 kB / 0.9606 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-06/0.5264, allocations: 83.22 kB / 0.9606 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.5264, allocations: 155.8 kB / 0.9608 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.5265, allocations: 80.91 kB / 0.9609 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.5265, allocations: 80.78 kB / 0.9609 GB, free: 1.879 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.476e-05/0.5266, allocations: 262 kB / 0.9612 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.5266, allocations: 106.3 kB / 0.9613 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.5266, allocations: 120.9 kB / 0.9614 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.5267, allocations: 185.7 kB / 0.9616 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/0.5267, allocations: 181.9 kB / 0.9618 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.5267, allocations: 176.3 kB / 0.9619 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.5268, allocations: 407.8 kB / 0.9623 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.5268, allocations: 105.6 kB / 0.9624 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.5268, allocations: 102 kB / 0.9625 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.06e-05/0.5269, allocations: 189.2 kB / 0.9627 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.5269, allocations: 181.9 kB / 0.9629 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.938e-05/0.527, allocations: 177.1 kB / 0.963 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.542e-05/0.5271, allocations: 181.6 kB / 0.9632 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.5272, allocations: 306.8 kB / 0.9635 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.5272, allocations: 191.3 kB / 0.9637 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.5273, allocations: 185.7 kB / 0.9639 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.5274, allocations: 106.2 kB / 0.964 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.5274, allocations: 181.7 kB / 0.9641 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.5275, allocations: 112.9 kB / 0.9642 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.5275, allocations: 83.38 kB / 0.9643 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5275, allocations: 0 / 0.9643 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002264/0.5277, allocations: 3.156 kB / 0.9643 GB, free: 14.21 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.0003844/0.5281, allocations: 0.8289 MB / 0.9651 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 2.152e-05/0.5282, allocations: 5.375 kB / 0.9651 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5282, allocations: 0 / 0.9651 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.5282, allocations: 4 kB / 0.9651 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.5285, allocations: 0.516 MB / 0.9657 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.5293, allocations: 1.56 MB / 0.9672 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.5295, allocations: 0.6715 MB / 0.9678 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.438e-06/0.5295, allocations: 1.156 kB / 0.9678 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.5296, allocations: 13.45 kB / 0.9678 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5296, allocations: 0 / 0.9678 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/1.566, allocations: 0.9982 MB / 0.9688 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/1.566, allocations: 249.2 kB / 0.9691 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/3.063, allocations: 1.562 kB / 0.9691 GB, free: 9.891 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