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.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.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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 190.9 kB / 16.53 MB, free: 6.391 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.154/1.154, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.037/2.037, allocations: 390.2 MB / 0.6647 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 67.91 kB / 0.8126 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4624, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001799/0.4642, allocations: 1.255 MB / 0.9509 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007231/0.465, allocations: 0.738 MB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.465, allocations: 0 / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.465, allocations: 3.938 kB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.4652, allocations: 9.938 kB / 0.9517 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.4654, allocations: 53.86 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.4654, allocations: 27.97 kB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.4655, allocations: 1.75 kB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.4655, allocations: 11.62 kB / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.4656, allocations: 17.25 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.4656, allocations: 1.25 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.911e-05/0.4657, allocations: 9 kB / 0.9518 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.4657, allocations: 6.188 kB / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.4658, allocations: 15.84 kB / 0.9518 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.293e-05/0.4658, allocations: 17.95 kB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4658, allocations: 0 / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4658, allocations: 0 / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.4659, allocations: 1.406 kB / 0.9518 GB, free: 7.531 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.0002182/0.4661, allocations: 330.4 kB / 0.9522 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.4661, allocations: 9.344 kB / 0.9522 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.93e-05/0.4661, allocations: 106 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.4662, allocations: 81.47 kB / 0.9523 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.4e-05/0.4663, allocations: 245.4 kB / 0.9526 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4663, allocations: 154.9 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.4663, allocations: 156.7 kB / 0.9529 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.043e-05/0.4664, allocations: 106.9 kB / 0.953 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4664, allocations: 79.22 kB / 0.953 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.4664, allocations: 162.5 kB / 0.9532 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.4664, allocations: 150.6 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.4664, allocations: 152 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.4666, allocations: 453 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.643e-05/0.4666, allocations: 170.6 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/0.4667, allocations: 80.14 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.4667, allocations: 80.94 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.4667, allocations: 105.8 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.4667, allocations: 0 / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.762e-05/0.4668, allocations: 34.95 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.4668, allocations: 136.1 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.906e-05/0.4669, allocations: 105.4 kB / 0.9546 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.4669, allocations: 26.64 kB / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.821e-05/0.4669, allocations: 81.3 kB / 0.9547 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.4669, allocations: 0 / 0.9547 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.4669, allocations: 18.05 kB / 0.9547 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.202e-05/0.467, allocations: 315.7 kB / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.467, allocations: 7.312 kB / 0.955 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.467, allocations: 14.17 kB / 0.955 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.467, allocations: 17.08 kB / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.467, allocations: 0 / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.651e-05/0.4671, allocations: 48.25 kB / 0.9551 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.4672, allocations: 8.75 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.4672, allocations: 1.438 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.4672, allocations: 0 / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.4672, allocations: 0 / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4672, allocations: 5.312 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.28e-05/0.4673, allocations: 1.375 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.4673, allocations: 1.719 kB / 0.9551 GB, free: 4 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 4.26e-05/0.4673, allocations: 186.4 kB / 0.9553 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.4674, allocations: 110.1 kB / 0.9554 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.4674, allocations: 116.8 kB / 0.9555 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.4674, allocations: 180.3 kB / 0.9557 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.4674, allocations: 194 kB / 0.9559 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.4675, allocations: 176.3 kB / 0.956 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.4676, allocations: 405.2 kB / 0.9564 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.4676, allocations: 104.9 kB / 0.9565 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.4676, allocations: 102.1 kB / 0.9566 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/0.4676, allocations: 189.5 kB / 0.9568 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.4676, allocations: 177.6 kB / 0.957 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.667e-05/0.4677, allocations: 176.3 kB / 0.9571 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-05/0.4677, allocations: 185.2 kB / 0.9573 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.835e-05/0.4677, allocations: 312.7 kB / 0.9576 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.4678, allocations: 183.3 kB / 0.9578 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.4678, allocations: 185.3 kB / 0.958 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.4679, allocations: 110.1 kB / 0.9581 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.4679, allocations: 177.5 kB / 0.9582 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4679, allocations: 106.2 kB / 0.9583 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.408e-05/0.4679, allocations: 92.27 kB / 0.9584 GB, free: 420 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4679, allocations: 0 / 0.9584 GB, free: 420 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002018/0.4681, allocations: 3.875 kB / 0.9584 GB, free: 420 kB / 0.7169 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.0003736/0.4685, allocations: 0.8175 MB / 0.9592 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.074e-05/0.4686, allocations: 16.33 kB / 0.9593 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4686, allocations: 0 / 0.9593 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.4686, allocations: 1.25 kB / 0.9593 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.4689, allocations: 456.7 kB / 0.9597 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008624/0.4698, allocations: 1.303 MB / 0.961 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.47, allocations: 0.6763 MB / 0.9616 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.491e-05/0.47, allocations: 1.281 kB / 0.9616 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.47, allocations: 12.77 kB / 0.9616 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.47, allocations: 0 / 0.9616 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6139/1.084, allocations: 1.263 MB / 0.9629 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.49, allocations: 9.078 kB / 0.9629 GB, free: 12.4 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