Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001401/0.001401, allocations: 101.3 kB / 16.45 MB, free: 6.449 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.001758/0.001758, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.609/1.609, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.196/3.196, allocations: 0.4899 GB / 0.7915 GB, free: 33.43 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: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") [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.002359/0.002359, allocations: 68.34 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3806, allocations: 176.1 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007129/0.3878, allocations: 4.738 MB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2132/0.601, allocations: 154 MB / 1.476 GB, free: 3.457 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.6021, allocations: 23.81 kB / 1.476 GB, free: 3.434 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007613/0.6029, allocations: 194.2 kB / 1.476 GB, free: 3.242 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.606, allocations: 0.545 MB / 1.477 GB, free: 2.695 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.6084, allocations: 0.8771 MB / 1.478 GB, free: 1.824 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001806/0.6102, allocations: 1.409 MB / 1.479 GB, free: 420 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.611, allocations: 380 kB / 1.48 GB, free: 16 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008073/0.6118, allocations: 0.4944 MB / 1.48 GB, free: 15.52 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.6124, allocations: 0.4978 MB / 1.481 GB, free: 15.02 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.6126, allocations: 112 kB / 1.481 GB, free: 14.91 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.6144, allocations: 0.9168 MB / 1.482 GB, free: 13.99 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.6147, allocations: 287 kB / 1.482 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005361/0.6153, allocations: 0.544 MB / 1.482 GB, free: 13.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.618, allocations: 1.853 MB / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.618, allocations: 3.938 kB / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.254e-06/0.618, allocations: 4 kB / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.618, allocations: 4 kB / 1.484 GB, free: 11.29 MB / 1.186 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.002994/0.621, allocations: 1.525 MB / 1.486 GB, free: 9.715 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.621, allocations: 8.031 kB / 1.486 GB, free: 9.707 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.6229, allocations: 276 kB / 1.486 GB, free: 9.438 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.6243, allocations: 0.7904 MB / 1.487 GB, free: 8.605 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.6244, allocations: 57.94 kB / 1.487 GB, free: 8.551 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.6245, allocations: 72 kB / 1.487 GB, free: 8.48 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.6263, allocations: 0.8958 MB / 1.488 GB, free: 7.539 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.6263, allocations: 0 / 1.488 GB, free: 7.539 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.6264, allocations: 32 kB / 1.488 GB, free: 7.508 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.6264, allocations: 16 kB / 1.488 GB, free: 7.492 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.6286, allocations: 1.128 MB / 1.489 GB, free: 6.363 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004347/0.633, allocations: 2.597 MB / 1.491 GB, free: 3.668 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.6347, allocations: 0.7845 MB / 1.492 GB, free: 2.875 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.6354, allocations: 302.7 kB / 1.492 GB, free: 2.57 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.222e-05/0.6355, allocations: 36.59 kB / 1.492 GB, free: 2.535 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.6365, allocations: 0.5302 MB / 1.493 GB, free: 1.988 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.304e-06/0.6365, allocations: 4 kB / 1.493 GB, free: 1.984 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003864/0.6404, allocations: 1.288 MB / 1.494 GB, free: 0.668 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.6405, allocations: 192.6 kB / 1.494 GB, free: 448 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009724/0.6415, allocations: 0.6724 MB / 1.495 GB, free: 15.76 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.361e-05/0.6416, allocations: 49.64 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.642, allocations: 381.2 kB / 1.496 GB, free: 15.32 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.6422, allocations: 285.5 kB / 1.496 GB, free: 15.05 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/0.6425, allocations: 178.6 kB / 1.496 GB, free: 14.87 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.6427, allocations: 386.7 kB / 1.496 GB, free: 14.48 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000744/0.6435, allocations: 297.8 kB / 1.497 GB, free: 14.19 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008794/0.6443, allocations: 403.9 kB / 1.497 GB, free: 13.78 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.6459, allocations: 0.6666 MB / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6459, allocations: 0 / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002473/0.6484, allocations: 0.9233 MB / 1.499 GB, free: 12.16 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6484, allocations: 12.12 kB / 1.499 GB, free: 12.15 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6484, allocations: 0 / 1.499 GB, free: 12.15 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006435/0.6491, allocations: 84.77 kB / 1.499 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/0.6498, allocations: 183.7 kB / 1.499 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.6523, allocations: 1.658 MB / 1.5 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000851/0.6532, allocations: 97.91 kB / 1.501 GB, free: 9.988 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.6533, allocations: 35.97 kB / 1.501 GB, free: 9.953 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,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 (97): * Single equations (assignments): 96 * 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.0005317/0.6538, allocations: 279.8 kB / 1.501 GB, free: 9.672 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.654, allocations: 91.44 kB / 1.501 GB, free: 9.582 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.6571, allocations: 1.195 MB / 1.502 GB, free: 8.371 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.6571, allocations: 12 kB / 1.502 GB, free: 8.359 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6571, allocations: 0 / 1.502 GB, free: 8.359 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.6571, allocations: 7.922 kB / 1.502 GB, free: 8.352 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.6583, allocations: 0.9232 MB / 1.503 GB, free: 7.379 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6583, allocations: 4 kB / 1.503 GB, free: 7.375 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.659, allocations: 159.8 kB / 1.503 GB, free: 7.219 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/0.6595, allocations: 72.78 kB / 1.503 GB, free: 7.145 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/0.6596, allocations: 31.97 kB / 1.503 GB, free: 7.113 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.6618, allocations: 1.67 MB / 1.505 GB, free: 5.297 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6618, allocations: 4.125 kB / 1.505 GB, free: 5.293 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.6642, allocations: 1.014 MB / 1.506 GB, free: 4.258 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.6647, allocations: 292.1 kB / 1.506 GB, free: 3.953 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.6648, allocations: 19.98 kB / 1.506 GB, free: 3.934 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/0.6655, allocations: 75.92 kB / 1.506 GB, free: 3.859 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.6657, allocations: 72.89 kB / 1.506 GB, free: 3.789 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.502e-05/0.6658, allocations: 39.97 kB / 1.506 GB, free: 3.75 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006888/0.6665, allocations: 483 kB / 1.507 GB, free: 3.285 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6665, allocations: 0 / 1.507 GB, free: 3.285 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001045/0.6675, allocations: 343.1 kB / 1.507 GB, free: 2.949 MB / 1.201 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.002171/0.6697, allocations: 0.6317 MB / 1.508 GB, free: 2.488 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.6719, allocations: 0.8743 MB / 1.509 GB, free: 1.602 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6719, allocations: 0 / 1.509 GB, free: 1.602 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.6731, allocations: 0.5275 MB / 1.509 GB, free: 1.059 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.6743, allocations: 296.9 kB / 1.509 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.6776, allocations: 1.698 MB / 1.511 GB, free: 15.06 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/0.6784, allocations: 1.024 MB / 1.512 GB, free: 14.01 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008092/0.6792, allocations: 275.1 kB / 1.512 GB, free: 13.73 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.6795, allocations: 119.4 kB / 1.512 GB, free: 13.62 MB / 1.217 GB Notification: Performance of SimCode: time 5.91e-07/0.6795, allocations: 0 / 1.512 GB, free: 13.62 MB / 1.217 GB Notification: Performance of Templates: time 0.02975/0.7092, allocations: 16.43 MB / 1.529 GB, free: 13.37 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.04932007426396]