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.008219/0.008219, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.002032/0.002031, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.164/2.164, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 63.5 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2083, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001842/0.2102, allocations: 1.253 MB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.2111, allocations: 0.7353 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.2111, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.2112, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.2113, allocations: 27.91 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.2115, allocations: 39.88 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.2116, allocations: 23.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.2116, allocations: 4 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.2117, allocations: 15.97 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2118, allocations: 7.938 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2118, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.785e-05/0.2118, allocations: 7.984 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.2119, allocations: 15.98 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.2119, allocations: 7.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.495e-05/0.212, allocations: 19.97 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.212, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/0.212, allocations: 4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.212, allocations: 0 / 1.09 GB, free: 15.8 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.0002624/0.2123, allocations: 326.3 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.2123, allocations: 12.02 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.2124, allocations: 110 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.2124, allocations: 92.06 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2125, allocations: 236.2 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.2126, allocations: 150.9 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.2126, allocations: 154.9 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.147e-05/0.2127, allocations: 107 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.2127, allocations: 79.22 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.2128, allocations: 158.5 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.2128, allocations: 150.6 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.2129, allocations: 154.5 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.2131, allocations: 453.9 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.707e-05/0.2132, allocations: 169.1 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.2132, allocations: 80.14 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2132, allocations: 83.27 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2133, allocations: 113.8 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2133, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.078e-05/0.2133, allocations: 29.64 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.2134, allocations: 130.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.2135, allocations: 106.1 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2135, allocations: 29.7 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.2135, allocations: 84.09 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.2135, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.2136, allocations: 21.7 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.2137, allocations: 314.8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.2137, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.2137, allocations: 15.98 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/0.2137, allocations: 20.8 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2137, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.474e-05/0.2138, allocations: 33.7 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2139, allocations: 17.48 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2139, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2139, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.2139, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.2139, allocations: 4.062 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.214, allocations: 7.938 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.214, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 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 7.698e-05/0.2141, allocations: 181.1 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.2141, allocations: 116.8 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.2142, allocations: 108.5 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-05/0.2142, allocations: 176.3 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.903e-05/0.2143, allocations: 188.2 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-05/0.2143, allocations: 176.3 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.2145, allocations: 409.2 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/0.2146, allocations: 104.9 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.2146, allocations: 105.1 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-05/0.2146, allocations: 188.1 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/0.2147, allocations: 184.3 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.631e-05/0.2147, allocations: 180.2 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-05/0.2148, allocations: 180.3 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.2149, allocations: 307.8 kB / 1.095 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.215, allocations: 186.2 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.215, allocations: 192.1 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.2151, allocations: 109 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.2152, allocations: 180.2 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.2152, allocations: 105 kB / 1.096 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.2152, allocations: 87.28 kB / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2152, allocations: 0 / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002117/0.2154, allocations: 8 kB / 1.096 GB, free: 8.559 MB / 0.8575 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.0003958/0.2158, allocations: 0.8316 MB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.531e-05/0.2159, allocations: 4 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2159, allocations: 0 / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.2159, allocations: 0 / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.2162, allocations: 459.7 kB / 1.097 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/0.217, allocations: 1.283 MB / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.2172, allocations: 0.6768 MB / 1.099 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.642e-05/0.2172, allocations: 4 kB / 1.099 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.2172, allocations: 11.38 kB / 1.099 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2172, allocations: 0 / 1.099 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.488/0.7052, allocations: 1.301 MB / 1.101 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/9.028, allocations: 11.55 kB / 1.101 GB, free: 4.008 MB / 0.8575 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