Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.0007047/0.0007047, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004187/0.004187, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.031/2.031, allocations: 390.9 MB / 0.6664 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002721, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5203, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.0009061/0.5212, allocations: 0.9867 MB / 0.9561 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007415/0.522, allocations: 0.7059 MB / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.522, allocations: 0 / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.522, allocations: 0 / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.5222, allocations: 14.56 kB / 0.9568 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.5223, allocations: 51 kB / 0.9569 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.517e-05/0.5224, allocations: 31.42 kB / 0.9569 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.5224, allocations: 5.375 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.5225, allocations: 16.48 kB / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.5226, allocations: 9.203 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.5226, allocations: 0 / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.976e-05/0.5227, allocations: 18.64 kB / 0.957 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.5227, allocations: 10.77 kB / 0.957 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.5227, allocations: 33.67 kB / 0.957 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.454e-05/0.5228, allocations: 20.52 kB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.5228, allocations: 1.406 kB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5228, allocations: 0 / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.5228, allocations: 4 kB / 0.957 GB, free: 6.234 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.0001897/0.523, allocations: 327.5 kB / 0.9573 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.5231, allocations: 8.875 kB / 0.9574 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.176e-05/0.5231, allocations: 110 kB / 0.9575 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.5231, allocations: 77.56 kB / 0.9575 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.746e-05/0.5232, allocations: 249.7 kB / 0.9578 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.5232, allocations: 152.1 kB / 0.9579 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.5233, allocations: 156.2 kB / 0.9581 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.917e-05/0.5233, allocations: 105.5 kB / 0.9582 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5233, allocations: 80.41 kB / 0.9582 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5233, allocations: 150.6 kB / 0.9584 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.5233, allocations: 150.6 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.865e-05/0.5234, allocations: 159.7 kB / 0.9587 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.5235, allocations: 453.5 kB / 0.9591 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.712e-05/0.5236, allocations: 170.3 kB / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.5236, allocations: 80.14 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.5236, allocations: 79.22 kB / 0.9594 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.5236, allocations: 111 kB / 0.9595 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.5237, allocations: 0 / 0.9595 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.527e-05/0.5237, allocations: 33.52 kB / 0.9596 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.5237, allocations: 134.6 kB / 0.9597 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.5238, allocations: 102.9 kB / 0.9598 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.5238, allocations: 33.69 kB / 0.9598 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.728e-05/0.5239, allocations: 81.27 kB / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.5239, allocations: 4 kB / 0.9599 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.5239, allocations: 10.88 kB / 0.9599 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.322e-05/0.5239, allocations: 311.8 kB / 0.9602 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.5239, allocations: 3.875 kB / 0.9602 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.524, allocations: 13.36 kB / 0.9602 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.524, allocations: 15.73 kB / 0.9602 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.524, allocations: 0 / 0.9602 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.071e-05/0.5241, allocations: 45.75 kB / 0.9603 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.5241, allocations: 11.09 kB / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5241, allocations: 0 / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.5241, allocations: 1.281 kB / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.5241, allocations: 0 / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.5241, allocations: 0 / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.5242, allocations: 6.281 kB / 0.9603 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.5242, allocations: 1.156 kB / 0.9603 GB, free: 2.715 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 (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.063e-05/0.5243, allocations: 191.4 kB / 0.9605 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.5243, allocations: 110.1 kB / 0.9606 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.5243, allocations: 113.6 kB / 0.9607 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.5244, allocations: 177.3 kB / 0.9609 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.5244, allocations: 177.5 kB / 0.961 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.5244, allocations: 185.7 kB / 0.9612 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.5245, allocations: 403.8 kB / 0.9616 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.5245, allocations: 110.1 kB / 0.9617 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.5246, allocations: 106.1 kB / 0.9618 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/0.5246, allocations: 184.2 kB / 0.962 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.5246, allocations: 181.5 kB / 0.9622 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.707e-05/0.5246, allocations: 177.7 kB / 0.9623 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.935e-05/0.5246, allocations: 185.9 kB / 0.9625 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.07e-05/0.5247, allocations: 315.1 kB / 0.9628 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.5248, allocations: 183.4 kB / 0.963 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.5249, allocations: 193.9 kB / 0.9632 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.399e-05/0.5249, allocations: 110.3 kB / 0.9633 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.525, allocations: 177.5 kB / 0.9634 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.525, allocations: 105 kB / 0.9635 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.5251, allocations: 88.86 kB / 0.9636 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5251, allocations: 0 / 0.9636 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002038/0.5253, allocations: 4.812 kB / 0.9636 GB, free: 15.11 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.0004088/0.5257, allocations: 0.8171 MB / 0.9644 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.128e-05/0.5258, allocations: 13.62 kB / 0.9644 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5258, allocations: 0 / 0.9644 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.5258, allocations: 3.938 kB / 0.9644 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.5261, allocations: 0.5244 MB / 0.965 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.5269, allocations: 1.292 MB / 0.9662 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.5271, allocations: 0.6775 MB / 0.9669 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.214e-05/0.5271, allocations: 0 / 0.9669 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.5271, allocations: 12.78 kB / 0.9669 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5271, allocations: 0 / 0.9669 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9362/1.463, allocations: 1.092 MB / 0.968 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.464, allocations: 239.6 kB / 0.9682 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/3.027, allocations: 0 / 0.9682 GB, free: 10.99 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches