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.0104/0.0104, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001806/0.001806, allocations: 197 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.564/2.564, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.403/3.403, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 63.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002133/1.039, allocations: 1.265 MB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009882/1.04, allocations: 0.7385 MB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/1.04, allocations: 0 / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/1.04, allocations: 9.094 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/1.041, allocations: 8.047 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/1.041, allocations: 41.67 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.939e-05/1.041, allocations: 30.39 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/1.041, allocations: 2.641 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/1.041, allocations: 13.98 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/1.041, allocations: 10.56 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/1.041, allocations: 0 / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/1.041, allocations: 17.86 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/1.041, allocations: 4.766 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/1.041, allocations: 12.59 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.93e-05/1.041, allocations: 21.45 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.041, allocations: 1.25 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/1.041, allocations: 0 / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.4e-06/1.041, allocations: 0 / 1.09 GB, free: 3.789 MB / 0.8575 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.0002683/1.042, allocations: 327.6 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.042, allocations: 9.031 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/1.042, allocations: 111.4 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/1.042, allocations: 81.53 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.418e-05/1.042, allocations: 242.6 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/1.042, allocations: 156.3 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/1.042, allocations: 155.8 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.307e-05/1.042, allocations: 107.3 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.042, allocations: 83.22 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/1.042, allocations: 151.5 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/1.042, allocations: 151.3 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/1.042, allocations: 151.5 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/1.042, allocations: 448.8 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/1.042, allocations: 174.2 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/1.042, allocations: 85.77 kB / 1.092 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/1.042, allocations: 75.28 kB / 1.092 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.448e-05/1.043, allocations: 107.7 kB / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/1.043, allocations: 0 / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.42e-05/1.043, allocations: 32.44 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.043, allocations: 130.7 kB / 1.092 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/1.043, allocations: 105.5 kB / 1.092 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/1.043, allocations: 31.42 kB / 1.092 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/1.043, allocations: 85.14 kB / 1.092 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/1.043, allocations: 3.938 kB / 1.092 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/1.043, allocations: 21.22 kB / 1.092 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/1.043, allocations: 312.1 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/1.043, allocations: 8.953 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/1.043, allocations: 7.656 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/1.043, allocations: 17.42 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.043, allocations: 0.5156 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.973e-05/1.043, allocations: 39.47 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.043, allocations: 11.7 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.043, allocations: 1.031 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/1.043, allocations: 0 / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/1.043, allocations: 8.312 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/1.043, allocations: 1.891 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/1.043, allocations: 5.781 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/1.043, allocations: 2.844 kB / 1.093 GB, free: 16.29 MB / 0.8731 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 8.337e-05/1.043, allocations: 188 kB / 1.093 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/1.044, allocations: 111.1 kB / 1.093 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/1.044, allocations: 110.8 kB / 1.093 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-05/1.044, allocations: 185.9 kB / 1.093 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-05/1.044, allocations: 178.6 kB / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-05/1.044, allocations: 181.4 kB / 1.094 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/1.044, allocations: 404.8 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/1.044, allocations: 101 kB / 1.094 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/1.044, allocations: 107.4 kB / 1.094 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.348e-05/1.044, allocations: 186.1 kB / 1.095 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/1.044, allocations: 182 kB / 1.095 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.732e-05/1.044, allocations: 182 kB / 1.095 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.136e-05/1.044, allocations: 182.2 kB / 1.095 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/1.044, allocations: 309 kB / 1.095 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/1.044, allocations: 189.2 kB / 1.096 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/1.045, allocations: 182.4 kB / 1.096 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/1.045, allocations: 106.8 kB / 1.096 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/1.045, allocations: 178.1 kB / 1.096 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/1.045, allocations: 110 kB / 1.096 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.418e-05/1.045, allocations: 86.98 kB / 1.096 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.172e-06/1.045, allocations: 0 / 1.096 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002299/1.045, allocations: 7.312 kB / 1.096 GB, free: 12.73 MB / 0.8731 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.0004841/1.045, allocations: 0.8283 MB / 1.097 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.405e-05/1.046, allocations: 6.875 kB / 1.097 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.046, allocations: 0 / 1.097 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/1.046, allocations: 0 / 1.097 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/1.046, allocations: 463.1 kB / 1.097 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009243/1.047, allocations: 1.293 MB / 1.099 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/1.047, allocations: 0.676 MB / 1.099 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.793e-05/1.047, allocations: 1.25 kB / 1.099 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/1.047, allocations: 8.891 kB / 1.099 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.047, allocations: 0 / 1.099 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4074/1.455, allocations: 1.285 MB / 1.101 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.57, allocations: 9.312 kB / 1.101 GB, free: 9.098 MB / 0.8731 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