Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.0013/0.0013, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001493/0.001493, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.263/3.263, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.003023/0.003023, allocations: 63.78 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4057, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006879/0.4126, allocations: 4.295 MB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.165/0.5776, allocations: 132.7 MB / 1.497 GB, free: 4.578 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008549/0.5784, allocations: 23.81 kB / 1.497 GB, free: 4.555 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.579, allocations: 190.3 kB / 1.497 GB, free: 4.367 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.5807, allocations: 0.562 MB / 1.498 GB, free: 3.809 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.5827, allocations: 0.8659 MB / 1.499 GB, free: 2.945 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.5843, allocations: 1.417 MB / 1.5 GB, free: 1.523 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006573/0.585, allocations: 356.5 kB / 1.5 GB, free: 1.152 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006573/0.5857, allocations: 0.4983 MB / 1.501 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.5863, allocations: 461.8 kB / 1.501 GB, free: 204 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.5864, allocations: 116 kB / 1.501 GB, free: 88 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.588, allocations: 0.8155 MB / 1.502 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.5883, allocations: 291 kB / 1.503 GB, free: 14.98 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004395/0.5887, allocations: 445.8 kB / 1.503 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.5911, allocations: 1.856 MB / 1.505 GB, free: 12.68 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5911, allocations: 3.984 kB / 1.505 GB, free: 12.68 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5911, allocations: 0 / 1.505 GB, free: 12.68 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.5911, allocations: 0 / 1.505 GB, free: 12.68 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002719/0.5939, allocations: 1.45 MB / 1.506 GB, free: 11.19 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5939, allocations: 8.031 kB / 1.506 GB, free: 11.18 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.5941, allocations: 126.8 kB / 1.506 GB, free: 11.05 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.5959, allocations: 272 kB / 1.507 GB, free: 10.79 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.5973, allocations: 0.7296 MB / 1.507 GB, free: 10.03 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.5974, allocations: 54 kB / 1.507 GB, free: 9.977 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.5975, allocations: 76 kB / 1.507 GB, free: 9.902 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.5994, allocations: 1.143 MB / 1.509 GB, free: 8.652 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.5995, allocations: 3.938 kB / 1.509 GB, free: 8.648 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.48e-05/0.5995, allocations: 32 kB / 1.509 GB, free: 8.617 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.5996, allocations: 20 kB / 1.509 GB, free: 8.598 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.6017, allocations: 1.089 MB / 1.51 GB, free: 7.512 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/0.6058, allocations: 2.231 MB / 1.512 GB, free: 5.219 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.6075, allocations: 0.7778 MB / 1.513 GB, free: 4.434 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.6082, allocations: 302.7 kB / 1.513 GB, free: 4.137 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.492e-05/0.6083, allocations: 32.56 kB / 1.513 GB, free: 4.105 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.6095, allocations: 0.6229 MB / 1.514 GB, free: 3.438 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.6095, allocations: 4 kB / 1.514 GB, free: 3.434 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003941/0.6135, allocations: 1.22 MB / 1.515 GB, free: 2.207 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.6136, allocations: 192.6 kB / 1.515 GB, free: 1.973 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.6146, allocations: 0.6647 MB / 1.516 GB, free: 1.301 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.302e-05/0.6147, allocations: 45.7 kB / 1.516 GB, free: 1.25 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.6151, allocations: 393 kB / 1.516 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.6154, allocations: 281.6 kB / 1.516 GB, free: 0.582 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.6156, allocations: 154.6 kB / 1.516 GB, free: 436 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.6158, allocations: 398.7 kB / 1.517 GB, free: 28 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007131/0.6166, allocations: 273.8 kB / 1.517 GB, free: 15.76 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009025/0.6175, allocations: 0.5116 MB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.619, allocations: 0.647 MB / 1.518 GB, free: 14.53 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.619, allocations: 0 / 1.518 GB, free: 14.53 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002377/0.6213, allocations: 0.8803 MB / 1.519 GB, free: 13.64 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.6214, allocations: 8 kB / 1.519 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6214, allocations: 0 / 1.519 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/0.622, allocations: 84.89 kB / 1.519 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.6227, allocations: 171.8 kB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.6251, allocations: 1.535 MB / 1.521 GB, free: 11.72 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/0.6259, allocations: 99.59 kB / 1.521 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.626, allocations: 35.97 kB / 1.521 GB, free: 11.59 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005073/0.6265, allocations: 268 kB / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.6267, allocations: 91.44 kB / 1.521 GB, free: 11.23 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.6297, allocations: 1.203 MB / 1.522 GB, free: 10.01 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.6298, allocations: 12 kB / 1.522 GB, free: 9.996 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6298, allocations: 0 / 1.522 GB, free: 9.996 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.6298, allocations: 11.92 kB / 1.522 GB, free: 9.984 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.631, allocations: 0.7701 MB / 1.523 GB, free: 9.168 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.631, allocations: 0 / 1.523 GB, free: 9.168 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.6317, allocations: 159.8 kB / 1.523 GB, free: 9.012 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.6322, allocations: 72.78 kB / 1.523 GB, free: 8.938 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/0.6322, allocations: 27.98 kB / 1.523 GB, free: 8.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.6344, allocations: 1.559 MB / 1.525 GB, free: 7.234 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6344, allocations: 0 / 1.525 GB, free: 7.234 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.6371, allocations: 1.01 MB / 1.526 GB, free: 6.199 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.6376, allocations: 222.9 kB / 1.526 GB, free: 5.98 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.6378, allocations: 24 kB / 1.526 GB, free: 5.957 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/0.6385, allocations: 71.92 kB / 1.526 GB, free: 5.887 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.6386, allocations: 84.78 kB / 1.526 GB, free: 5.805 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/0.6387, allocations: 35.97 kB / 1.526 GB, free: 5.77 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007275/0.6395, allocations: 491 kB / 1.527 GB, free: 5.297 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6395, allocations: 0 / 1.527 GB, free: 5.297 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009567/0.6404, allocations: 331.2 kB / 1.527 GB, free: 4.973 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004869/0.6453, allocations: 2.12 MB / 1.529 GB, free: 3.035 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.6475, allocations: 0.8431 MB / 1.53 GB, free: 2.18 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.6475, allocations: 3.984 kB / 1.53 GB, free: 2.176 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.6487, allocations: 0.5275 MB / 1.531 GB, free: 1.637 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.65, allocations: 297.9 kB / 1.531 GB, free: 1.367 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.6627, allocations: 6.497 MB / 1.537 GB, free: 10.71 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.6633, allocations: 440.2 kB / 1.538 GB, free: 10.25 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001066/0.6644, allocations: 287 kB / 1.538 GB, free: 9.965 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007048/0.6651, allocations: 391.2 kB / 1.538 GB, free: 9.582 MB / 1.232 GB Notification: Performance of SimCode: time 1.583e-06/0.6651, allocations: 0 / 1.538 GB, free: 9.582 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07065/0.7357, allocations: 24.49 MB / 1.562 GB, free: 1.383 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.36, allocations: 0 / 1.562 GB, free: 1.383 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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: 21.304659074172378]