Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 110.4 kB / 18.94 MB, free: 2.812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 219 kB / 22.25 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 70 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3628, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002487/0.3653, allocations: 1.268 MB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3665, allocations: 0.8106 MB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.3665, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.3666, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.3668, allocations: 15.91 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.756e-05/0.3668, allocations: 12 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.3669, allocations: 7.938 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.367, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.367, allocations: 7.984 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.3671, allocations: 13.55 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.3671, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.263e-05/0.3672, allocations: 7.984 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.3672, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.3672, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 8.738e-05/0.3673, allocations: 20.2 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3673, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3673, allocations: 4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3673, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 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.0003354/0.3677, allocations: 246.3 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3677, allocations: 12.03 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/0.3678, allocations: 110 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.3679, allocations: 80.22 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.368, allocations: 185.8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.3681, allocations: 154.9 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.3682, allocations: 150.9 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.17e-05/0.3682, allocations: 101.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.3683, allocations: 83.22 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.3683, allocations: 150.6 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/0.3684, allocations: 154.6 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.05e-05/0.3685, allocations: 162.4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3688, allocations: 417 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3689, allocations: 173.2 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.369, allocations: 80.14 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.369, allocations: 79.28 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.369, allocations: 105.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3691, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.421e-05/0.3691, allocations: 37.58 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.3692, allocations: 126.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3693, allocations: 105.8 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3694, allocations: 25.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.3694, allocations: 92.12 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.3694, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.3694, allocations: 9.719 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3696, allocations: 314.8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.3696, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.3696, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.652e-05/0.3696, allocations: 75.28 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.061e-05/0.3697, allocations: 75.28 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.333e-05/0.3697, allocations: 41.66 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.3698, allocations: 83.22 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/0.3698, allocations: 75.28 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.574e-05/0.3699, allocations: 158.5 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.211e-05/0.3699, allocations: 79.28 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.719e-05/0.37, allocations: 154.5 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.3701, allocations: 87.22 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.3702, allocations: 83.27 kB / 1.332 GB, free: 11.56 MB / 1.029 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 0.0001483/0.3703, allocations: 256.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.3704, allocations: 113 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.3705, allocations: 104.1 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.887e-05/0.3705, allocations: 184.3 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-05/0.3706, allocations: 188.2 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.191e-05/0.3707, allocations: 180.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3709, allocations: 372.2 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.453e-05/0.371, allocations: 113 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.371, allocations: 101 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-05/0.3711, allocations: 188.1 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.993e-05/0.3712, allocations: 176.3 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.044e-05/0.3713, allocations: 184.2 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.643e-05/0.3714, allocations: 176.3 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.3715, allocations: 311.8 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.3716, allocations: 108.9 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.3717, allocations: 200.1 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.3718, allocations: 101 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3719, allocations: 180.2 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.372, allocations: 101 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.372, allocations: 87.27 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.372, allocations: 0 / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002907/0.3723, allocations: 4 kB / 1.335 GB, free: 7.996 MB / 1.029 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.0008133/0.3731, allocations: 0.8303 MB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.896e-05/0.3732, allocations: 4 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3732, allocations: 0 / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.3732, allocations: 0 / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.3736, allocations: 463.7 kB / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3749, allocations: 1.552 MB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3752, allocations: 0.6768 MB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.665e-05/0.3753, allocations: 0 / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.3753, allocations: 11.44 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3753, allocations: 7.875 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.4051, allocations: 1.262 MB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.28, allocations: 8.078 kB / 1.34 GB, free: 3.23 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.5123582391534]