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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008428/0.0008429, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004956/0.004956, allocations: 170 kB / 16.26 MB, free: 6.613 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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.347/2.347, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 8.062 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2368, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001079/0.2379, allocations: 0.9861 MB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.2388, allocations: 0.719 MB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.427e-05/0.2388, allocations: 0 / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.2389, allocations: 3.984 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.239, allocations: 11.92 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.2392, allocations: 54.75 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.2392, allocations: 31.91 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.026e-05/0.2393, allocations: 0 / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.2393, allocations: 19.92 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.2394, allocations: 7.984 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2394, allocations: 4 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.2395, allocations: 15.92 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.2395, allocations: 7.984 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.2396, allocations: 33.64 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.59e-05/0.2396, allocations: 23.91 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2396, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2397, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.2397, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 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.000258/0.2399, allocations: 327.8 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.24, allocations: 8.031 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.24, allocations: 106 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.2401, allocations: 76.22 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2402, allocations: 243.6 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.2402, allocations: 150.9 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.2403, allocations: 150.9 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.777e-05/0.2403, allocations: 117.5 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.2404, allocations: 79.22 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.2404, allocations: 154.5 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.2404, allocations: 150.6 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.2405, allocations: 150.6 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.2407, allocations: 453.9 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.122e-05/0.2408, allocations: 169.1 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.2408, allocations: 80.14 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2408, allocations: 75.28 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.2409, allocations: 117.8 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2409, allocations: 3.938 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.996e-05/0.2409, allocations: 29.64 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.241, allocations: 130.6 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.2411, allocations: 105.8 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2411, allocations: 25.7 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.2412, allocations: 84.14 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.2412, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.2412, allocations: 13.72 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.2413, allocations: 318.9 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.2413, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.2413, allocations: 11.94 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.2414, allocations: 16.84 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2414, allocations: 0 / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.782e-05/0.2415, allocations: 41.69 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2415, allocations: 11.94 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2415, allocations: 8.312 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.2415, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-06/0.2415, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2415, allocations: 3.984 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.2416, allocations: 11.89 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2416, allocations: 4 kB / 1.064 GB, free: 15.33 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.158e-05/0.2417, allocations: 181.1 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.2418, allocations: 108.9 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.2418, allocations: 116.4 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.494e-05/0.2418, allocations: 176.3 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.634e-05/0.2419, allocations: 180.3 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-05/0.2419, allocations: 184.2 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.2421, allocations: 405.3 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.2422, allocations: 112.9 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.2422, allocations: 101 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.725e-05/0.2422, allocations: 184.2 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.2423, allocations: 184.2 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.591e-05/0.2424, allocations: 176.3 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.282e-05/0.2424, allocations: 180.2 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.945e-05/0.2425, allocations: 307.8 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.2426, allocations: 182 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.2426, allocations: 184.2 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.2427, allocations: 112.9 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.2428, allocations: 184.2 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.2428, allocations: 101 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.2428, allocations: 83.28 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2428, allocations: 3.938 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002024/0.243, allocations: 11.94 kB / 1.067 GB, free: 11.72 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.0003911/0.2434, allocations: 0.8296 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.952e-05/0.2435, allocations: 8 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2435, allocations: 3.938 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.2435, allocations: 3.938 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2438, allocations: 0.5225 MB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007589/0.2446, allocations: 1.286 MB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.2448, allocations: 0.677 MB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.279e-05/0.2448, allocations: 0 / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.2448, allocations: 11.44 kB / 1.071 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.2448, allocations: 0 / 1.071 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.242/2.486, allocations: 1.098 MB / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/2.487, allocations: 235.4 kB / 1.072 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/3.986, allocations: 0 / 1.072 GB, free: 7.082 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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