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.001828/0.001828, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001464/0.001464, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.775/2.775, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.002249/0.002249, allocations: 59.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9904/0.9927, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005665/0.9983, allocations: 4.293 MB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1824/1.181, allocations: 132.7 MB / 1.288 GB, free: 4.977 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008782/1.182, allocations: 23.41 kB / 1.288 GB, free: 4.965 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006621/1.182, allocations: 197 kB / 1.288 GB, free: 4.828 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/1.184, allocations: 0.5478 MB / 1.288 GB, free: 4.5 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/1.187, allocations: 0.8751 MB / 1.289 GB, free: 4.023 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002041/1.189, allocations: 1.415 MB / 1.291 GB, free: 3.293 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007107/1.19, allocations: 358.7 kB / 1.291 GB, free: 3.074 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/1.19, allocations: 0.4918 MB / 1.291 GB, free: 2.836 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007742/1.191, allocations: 461.5 kB / 1.292 GB, free: 2.621 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/1.191, allocations: 111.8 kB / 1.292 GB, free: 2.621 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/1.193, allocations: 0.8234 MB / 1.293 GB, free: 2.418 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/1.194, allocations: 287.3 kB / 1.293 GB, free: 2.238 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005259/1.194, allocations: 446.9 kB / 1.294 GB, free: 1.973 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/1.197, allocations: 1.855 MB / 1.295 GB, free: 1.215 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.197, allocations: 0 / 1.295 GB, free: 1.215 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.543e-06/1.197, allocations: 0 / 1.295 GB, free: 1.215 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.197, allocations: 3.938 kB / 1.295 GB, free: 1.211 MB / 1.139 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.003182/1.2, allocations: 1.447 MB / 1.297 GB, free: 260 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/1.2, allocations: 8.625 kB / 1.297 GB, free: 260 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/1.202, allocations: 274.5 kB / 1.297 GB, free: 184 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/1.204, allocations: 0.7165 MB / 1.298 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/1.204, allocations: 62.05 kB / 1.298 GB, free: 15.7 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.204, allocations: 72.31 kB / 1.298 GB, free: 15.68 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/1.206, allocations: 1.144 MB / 1.299 GB, free: 14.78 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/1.206, allocations: 3.938 kB / 1.299 GB, free: 14.77 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/1.206, allocations: 32.47 kB / 1.299 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/1.206, allocations: 19.22 kB / 1.299 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/1.208, allocations: 1.082 MB / 1.3 GB, free: 14.21 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004326/1.212, allocations: 2.117 MB / 1.302 GB, free: 12.6 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/1.214, allocations: 0.7815 MB / 1.303 GB, free: 12.2 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007483/1.215, allocations: 310.5 kB / 1.303 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-05/1.215, allocations: 27.64 kB / 1.303 GB, free: 12.02 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/1.216, allocations: 0.624 MB / 1.304 GB, free: 11.56 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.775e-06/1.216, allocations: 0 / 1.304 GB, free: 11.56 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003981/1.22, allocations: 1.217 MB / 1.305 GB, free: 10.96 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/1.22, allocations: 193.2 kB / 1.305 GB, free: 10.73 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/1.221, allocations: 0.6369 MB / 1.306 GB, free: 10.36 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.887e-05/1.221, allocations: 43.2 kB / 1.306 GB, free: 10.32 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/1.222, allocations: 395.4 kB / 1.306 GB, free: 9.973 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/1.222, allocations: 279.3 kB / 1.307 GB, free: 9.73 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/1.222, allocations: 174.2 kB / 1.307 GB, free: 9.625 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002246/1.223, allocations: 385 kB / 1.307 GB, free: 9.258 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007445/1.223, allocations: 300 kB / 1.307 GB, free: 9.109 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009538/1.224, allocations: 0.5181 MB / 1.308 GB, free: 8.723 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/1.226, allocations: 0.6742 MB / 1.308 GB, free: 8.359 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.226, allocations: 0 / 1.308 GB, free: 8.359 MB / 1.154 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002711/1.229, allocations: 0.9204 MB / 1.309 GB, free: 7.887 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.229, allocations: 5.25 kB / 1.309 GB, free: 7.887 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.229, allocations: 1.094 kB / 1.309 GB, free: 7.887 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/1.229, allocations: 91 kB / 1.309 GB, free: 7.84 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/1.23, allocations: 176.1 kB / 1.31 GB, free: 7.793 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/1.232, allocations: 1.528 MB / 1.311 GB, free: 6.336 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/1.233, allocations: 98.48 kB / 1.311 GB, free: 6.273 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.234, allocations: 41.47 kB / 1.311 GB, free: 6.258 MB / 1.154 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.0006386/1.234, allocations: 270.8 kB / 1.312 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/1.235, allocations: 92.16 kB / 1.312 GB, free: 5.996 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/1.238, allocations: 1.202 MB / 1.313 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.238, allocations: 10.22 kB / 1.313 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.238, allocations: 0 / 1.313 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.238, allocations: 9.125 kB / 1.313 GB, free: 5.312 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/1.239, allocations: 0.6533 MB / 1.313 GB, free: 4.777 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/1.239, allocations: 0 / 1.313 GB, free: 4.777 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/1.24, allocations: 163.8 kB / 1.314 GB, free: 4.617 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/1.24, allocations: 68.8 kB / 1.314 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/1.24, allocations: 31.91 kB / 1.314 GB, free: 4.516 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/1.243, allocations: 1.54 MB / 1.315 GB, free: 2.867 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.243, allocations: 7.969 kB / 1.315 GB, free: 2.859 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/1.245, allocations: 1.003 MB / 1.316 GB, free: 1.836 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/1.246, allocations: 215 kB / 1.316 GB, free: 1.625 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.246, allocations: 16 kB / 1.316 GB, free: 1.609 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/1.247, allocations: 75.92 kB / 1.316 GB, free: 1.535 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.247, allocations: 76.84 kB / 1.317 GB, free: 1.457 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.783e-05/1.247, allocations: 39.97 kB / 1.317 GB, free: 1.418 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000819/1.248, allocations: 459 kB / 1.317 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.248, allocations: 0 / 1.317 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001332/1.25, allocations: 343.1 kB / 1.317 GB, free: 0.6406 MB / 1.154 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.002409/1.252, allocations: 0.6615 MB / 1.318 GB, free: 188 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00228/1.254, allocations: 0.8702 MB / 1.319 GB, free: 15.3 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.254, allocations: 256 / 1.319 GB, free: 15.3 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.255, allocations: 0.5275 MB / 1.319 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/1.257, allocations: 301.5 kB / 1.32 GB, free: 14.49 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/1.261, allocations: 1.707 MB / 1.321 GB, free: 12.76 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/1.262, allocations: 440.1 kB / 1.322 GB, free: 12.3 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001103/1.263, allocations: 270.7 kB / 1.322 GB, free: 12.03 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/1.263, allocations: 124.4 kB / 1.322 GB, free: 11.9 MB / 1.17 GB Notification: Performance of SimCode: time 7.51e-07/1.263, allocations: 0 / 1.322 GB, free: 11.9 MB / 1.17 GB Notification: Performance of Templates: time 0.0319/1.295, allocations: 16.35 MB / 1.338 GB, free: 11.84 MB / 1.186 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 -s ida -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/jenkins1/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: 9.806044893921353]