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.001523/0.001523, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001527/0.001527, allocations: 214.6 kB / 22.25 MB, free: 4.859 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.793 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.134/3.134, allocations: 0.4892 GB / 0.7943 GB, free: 35.85 MB / 0.6231 GB " [Timeout remaining time 177] 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.00211/0.00211, allocations: 70.09 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3478, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00244/0.3502, allocations: 1.269 MB / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3514, allocations: 0.8052 MB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.3514, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.3515, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.3517, allocations: 23.84 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.408e-05/0.3518, allocations: 10.75 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.527e-05/0.3518, allocations: 7.938 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.3519, allocations: 0 / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.709e-05/0.3519, allocations: 19.86 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.352, allocations: 3.984 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.352, allocations: 0 / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.69e-05/0.3521, allocations: 4 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.3521, allocations: 7.984 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.3522, allocations: 0 / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.752e-05/0.3523, allocations: 20.14 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3523, allocations: 0 / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3523, allocations: 4 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3523, allocations: 0 / 1.327 GB, free: 184 kB / 1.014 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.0003504/0.3526, allocations: 250.4 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3527, allocations: 8.031 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.3527, allocations: 106 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.3528, allocations: 80.22 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3529, allocations: 185.8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.512e-05/0.353, allocations: 158.9 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.3531, allocations: 150.9 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.098e-05/0.3531, allocations: 101.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.3532, allocations: 79.22 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.3533, allocations: 158.6 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.3533, allocations: 150.6 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.3534, allocations: 150.6 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.3537, allocations: 421 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3538, allocations: 169.2 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.3538, allocations: 88.14 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.3539, allocations: 75.28 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.3539, allocations: 109.8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3539, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.237e-05/0.354, allocations: 37.58 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.3541, allocations: 130.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3542, allocations: 101.8 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3542, allocations: 25.7 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.3543, allocations: 84.14 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.3543, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.3543, allocations: 13.66 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3545, allocations: 314.8 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.3545, allocations: 0 / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.3545, allocations: 25.7 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.3545, allocations: 75.28 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.69e-05/0.3546, allocations: 75.28 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.066e-05/0.3546, allocations: 45.66 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.3547, allocations: 83.22 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/0.3547, allocations: 83.22 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.401e-05/0.3548, allocations: 150.6 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.828e-05/0.3548, allocations: 79.22 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.794e-05/0.3549, allocations: 154.6 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.355, allocations: 79.22 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.3551, allocations: 75.28 kB / 1.331 GB, free: 11.97 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.0001436/0.3552, allocations: 268.9 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.3553, allocations: 109.3 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.049e-05/0.3554, allocations: 112.1 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001053/0.3555, allocations: 184.3 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-05/0.3556, allocations: 188.2 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.902e-05/0.3557, allocations: 176.3 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.356, allocations: 376.3 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.207e-05/0.356, allocations: 108.9 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.3561, allocations: 101 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.585e-05/0.3562, allocations: 192.1 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/0.3562, allocations: 180.3 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.048e-05/0.3563, allocations: 176.3 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000105/0.3564, allocations: 188.2 kB / 1.333 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3566, allocations: 307.8 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.3567, allocations: 108.9 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.3568, allocations: 188.2 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/0.3569, allocations: 104.9 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.357, allocations: 180.3 kB / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.357, allocations: 108.9 kB / 1.334 GB, free: 8.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.3571, allocations: 83.27 kB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3571, allocations: 0 / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002844/0.3574, allocations: 4 kB / 1.334 GB, free: 8.395 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.0007513/0.3581, allocations: 0.8204 MB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.748e-05/0.3582, allocations: 7.938 kB / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3582, allocations: 0 / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3582, allocations: 0 / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3586, allocations: 461.5 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.36, allocations: 1.556 MB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.3601, allocations: 63.34 kB / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.3601, allocations: 8.031 kB / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.3602, allocations: 7.438 kB / 1.337 GB, free: 5.352 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/0.3602, allocations: 4 kB / 1.337 GB, free: 5.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.3892, allocations: 1.681 MB / 1.339 GB, free: 3.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.34, allocations: 6.5 kB / 1.339 GB, free: 3.832 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: 17.866973096039146]