Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_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.001195/0.001195, 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.001144/0.001144, allocations: 193.7 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.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.405/2.405, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 68.36 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2275, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002178/0.2298, allocations: 1.268 MB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008709/0.2306, allocations: 0.7326 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.2307, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.2307, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2309, allocations: 19.92 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.2311, allocations: 42.67 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.574e-05/0.2311, allocations: 23.92 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.2312, allocations: 8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.2312, allocations: 15.92 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.2313, allocations: 11.92 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.2314, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.2314, allocations: 7.984 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.2315, allocations: 8 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.2315, allocations: 11.92 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.603e-05/0.2316, allocations: 19.97 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2316, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2316, allocations: 7.938 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.2316, allocations: 4 kB / 1.066 GB, free: 12.37 MB / 0.8262 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.0002736/0.2319, allocations: 331.7 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.2319, allocations: 8.031 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.232, allocations: 106 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.232, allocations: 80.22 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2321, allocations: 235.7 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.2322, allocations: 158.9 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.2322, allocations: 154.9 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.213e-05/0.2323, allocations: 105.5 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.2323, allocations: 83.22 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.2324, allocations: 150.6 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.2324, allocations: 150.6 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.2324, allocations: 154.6 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.2327, allocations: 449.9 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.2327, allocations: 173.1 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.2328, allocations: 84.08 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2328, allocations: 79.28 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2328, allocations: 109.8 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.2328, allocations: 0 / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.936e-05/0.2329, allocations: 41.56 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.233, allocations: 126.7 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.2331, allocations: 105.8 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.2331, allocations: 29.7 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.2331, allocations: 92.03 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.2331, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.2332, allocations: 17.7 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.2332, allocations: 314.8 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.2333, allocations: 4 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.2333, allocations: 11.98 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.2333, allocations: 12.86 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2333, allocations: 0 / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.003e-05/0.2334, allocations: 49.72 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2334, allocations: 11.94 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2335, allocations: 256 / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.2335, allocations: 3.938 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/0.2335, allocations: 4 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.2335, allocations: 0 / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.2336, allocations: 0 / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.2336, allocations: 11.97 kB / 1.069 GB, free: 8.746 MB / 0.8262 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.437e-05/0.2337, allocations: 185.7 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.2337, allocations: 108.9 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.2338, allocations: 108.5 kB / 1.069 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-05/0.2338, allocations: 184.2 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-05/0.2339, allocations: 184.2 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.109e-05/0.2339, allocations: 176.3 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.2341, allocations: 409.2 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/0.2341, allocations: 104.9 kB / 1.07 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.2341, allocations: 101 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.077e-05/0.2342, allocations: 184.3 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.2343, allocations: 184.3 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-05/0.2343, allocations: 180.2 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.477e-05/0.2344, allocations: 188.2 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.2345, allocations: 303.8 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.2345, allocations: 186 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.2346, allocations: 188.2 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.2347, allocations: 108.9 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.2347, allocations: 176.3 kB / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.2347, allocations: 108.9 kB / 1.072 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.2348, allocations: 91.27 kB / 1.072 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2348, allocations: 0 / 1.072 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002363/0.235, allocations: 4 kB / 1.072 GB, free: 5.133 MB / 0.8262 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.0003994/0.2354, allocations: 0.8243 MB / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.769e-05/0.2355, allocations: 7.938 kB / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2355, allocations: 0 / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.2355, allocations: 0 / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2358, allocations: 459.8 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.2366, allocations: 1.288 MB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.2368, allocations: 0.6806 MB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.2368, allocations: 0 / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.2369, allocations: 15.47 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2369, allocations: 0 / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.254, allocations: 1.265 MB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.476/6.73, allocations: 9.109 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches