Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.005876/0.005876, allocations: 102.4 kB / 15.73 MB, free: 6.016 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.001486/0.001486, allocations: 192 kB / 16.67 MB, free: 5.934 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.195/1.195, allocations: 222.9 MB / 240.4 MB, free: 15.07 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 1.978/1.978, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 67.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6522, allocations: 140.4 MB / 1.087 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001824/0.6541, allocations: 1.237 MB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.6549, allocations: 0.7198 MB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.6549, allocations: 1.094 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.655, allocations: 3.938 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.6552, allocations: 11.83 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.621e-05/0.6552, allocations: 14.77 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.6553, allocations: 5.391 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.6553, allocations: 2.75 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.6553, allocations: 1.594 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.6555, allocations: 16.66 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.6555, allocations: 0.9375 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.698e-05/0.6555, allocations: 9.406 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.6556, allocations: 3.734 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.6556, allocations: 1.781 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.244e-05/0.6557, allocations: 15.8 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6557, allocations: 5.062 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6557, allocations: 0 / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6557, allocations: 0 / 1.089 GB, free: 3.879 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.0002221/0.6559, allocations: 320.1 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.656, allocations: 13.44 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.656, allocations: 106 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.656, allocations: 77.88 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.675e-05/0.6561, allocations: 252.2 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.6562, allocations: 152.1 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.6562, allocations: 152.7 kB / 1.09 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.59e-05/0.6562, allocations: 109.5 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6562, allocations: 80.19 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.6563, allocations: 151.2 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.6563, allocations: 155.7 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.6563, allocations: 150.6 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.6565, allocations: 455.5 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.571e-05/0.6565, allocations: 170.1 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.6565, allocations: 84.94 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.6566, allocations: 76.38 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/0.6566, allocations: 106.6 kB / 1.092 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.6566, allocations: 5.25 kB / 1.092 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.284e-05/0.6567, allocations: 31.56 kB / 1.092 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.6567, allocations: 126.7 kB / 1.092 GB, free: 17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.6568, allocations: 101.8 kB / 1.092 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.6568, allocations: 26.83 kB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.6569, allocations: 85.8 kB / 1.092 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-06/0.6569, allocations: 0 / 1.092 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.6569, allocations: 11.16 kB / 1.092 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.657, allocations: 317.2 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-06/0.657, allocations: 0.8125 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.657, allocations: 0.8125 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.6571, allocations: 76.88 kB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/0.6571, allocations: 79.28 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.97e-05/0.6571, allocations: 29.44 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.6572, allocations: 85.06 kB / 1.093 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.6572, allocations: 88.78 kB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-05/0.6573, allocations: 151.6 kB / 1.093 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.105e-05/0.6573, allocations: 76.98 kB / 1.093 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-05/0.6573, allocations: 160.4 kB / 1.093 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.6574, allocations: 76.91 kB / 1.093 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.6575, allocations: 81.56 kB / 1.094 GB, free: 15.57 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 (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 prepare postOptimizeDAE: time 9.116e-05/0.6576, allocations: 267.4 kB / 1.094 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.6576, allocations: 107.4 kB / 1.094 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.6577, allocations: 105.8 kB / 1.094 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/0.6577, allocations: 181.7 kB / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.393e-05/0.6578, allocations: 178.3 kB / 1.094 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-05/0.6578, allocations: 190 kB / 1.094 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.658, allocations: 402.5 kB / 1.095 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/0.6581, allocations: 106.6 kB / 1.095 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.6581, allocations: 102.9 kB / 1.095 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.114e-05/0.6582, allocations: 184.7 kB / 1.095 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.6582, allocations: 182.1 kB / 1.095 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.596e-05/0.6583, allocations: 182 kB / 1.096 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.918e-05/0.6583, allocations: 182.1 kB / 1.096 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.6584, allocations: 305.7 kB / 1.096 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.6585, allocations: 189 kB / 1.096 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.6586, allocations: 186.6 kB / 1.096 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.6586, allocations: 110.4 kB / 1.097 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.6587, allocations: 178.3 kB / 1.097 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.6587, allocations: 106.7 kB / 1.097 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.6588, allocations: 79.91 kB / 1.097 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6588, allocations: 1.031 kB / 1.097 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002445/0.659, allocations: 2.734 kB / 1.097 GB, free: 11.95 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.0004217/0.6594, allocations: 0.826 MB / 1.098 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.588e-05/0.6595, allocations: 1.125 kB / 1.098 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6595, allocations: 5.062 kB / 1.098 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.6595, allocations: 0 / 1.098 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.6598, allocations: 458.5 kB / 1.098 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009278/0.6607, allocations: 1.573 MB / 1.1 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.661, allocations: 0.6766 MB / 1.1 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.226e-05/0.661, allocations: 1.828 kB / 1.1 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.661, allocations: 14.92 kB / 1.1 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.661, allocations: 0 / 1.1 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2677/0.9287, allocations: 1.201 MB / 1.102 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/8.421, allocations: 18.03 kB / 1.102 GB, free: 8.027 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches