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.001471/0.001471, 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.001812/0.001812, allocations: 210.8 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.797 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.391/3.391, allocations: 0.4892 GB / 0.7943 GB, free: 35.38 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.002187/0.002187, allocations: 66.72 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3838, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007324/0.3911, allocations: 4.285 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1968/0.588, allocations: 132.7 MB / 1.459 GB, free: 8.363 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.5892, allocations: 23.81 kB / 1.459 GB, free: 8.34 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009398/0.5901, allocations: 194.2 kB / 1.459 GB, free: 8.148 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.5927, allocations: 0.5507 MB / 1.46 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.5953, allocations: 0.8707 MB / 1.461 GB, free: 6.734 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.5975, allocations: 1.417 MB / 1.462 GB, free: 5.312 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.5985, allocations: 356.5 kB / 1.463 GB, free: 4.941 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.5996, allocations: 498.3 kB / 1.463 GB, free: 4.453 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.6007, allocations: 465.8 kB / 1.464 GB, free: 3.996 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004094/0.6011, allocations: 112 kB / 1.464 GB, free: 3.887 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.6033, allocations: 0.8232 MB / 1.464 GB, free: 3.062 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004567/0.6037, allocations: 299 kB / 1.465 GB, free: 2.77 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007479/0.6045, allocations: 441.8 kB / 1.465 GB, free: 2.336 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.6079, allocations: 1.856 MB / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6079, allocations: 0 / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6079, allocations: 0 / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of Transformations before backend: time 6.703e-05/0.6079, allocations: 0 / 1.467 GB, free: 484 kB / 1.154 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.003937/0.6119, allocations: 1.446 MB / 1.468 GB, free: 14.99 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6119, allocations: 8.031 kB / 1.468 GB, free: 14.98 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.6139, allocations: 275.9 kB / 1.469 GB, free: 14.71 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.6156, allocations: 0.7182 MB / 1.469 GB, free: 13.96 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.212e-05/0.6157, allocations: 54 kB / 1.469 GB, free: 13.91 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.6159, allocations: 72 kB / 1.469 GB, free: 13.84 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.618, allocations: 1.155 MB / 1.471 GB, free: 12.58 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.6181, allocations: 0 / 1.471 GB, free: 12.58 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.6181, allocations: 39.94 kB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.6182, allocations: 20 kB / 1.471 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.6204, allocations: 1.077 MB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.6249, allocations: 2.112 MB / 1.474 GB, free: 9.281 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.6268, allocations: 0.7823 MB / 1.475 GB, free: 8.488 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007423/0.6276, allocations: 306.7 kB / 1.475 GB, free: 8.188 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.691e-05/0.6276, allocations: 32.56 kB / 1.475 GB, free: 8.156 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.6289, allocations: 0.6229 MB / 1.475 GB, free: 7.488 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.524e-06/0.6289, allocations: 0 / 1.475 GB, free: 7.488 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003956/0.6328, allocations: 1.22 MB / 1.477 GB, free: 6.262 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.633, allocations: 188.6 kB / 1.477 GB, free: 6.031 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.634, allocations: 0.6332 MB / 1.477 GB, free: 5.395 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.6341, allocations: 41.7 kB / 1.477 GB, free: 5.348 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.6345, allocations: 397.1 kB / 1.478 GB, free: 4.953 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.6347, allocations: 277.6 kB / 1.478 GB, free: 4.68 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.6351, allocations: 170.6 kB / 1.478 GB, free: 4.508 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0003163/0.6354, allocations: 390.7 kB / 1.479 GB, free: 4.117 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/0.6362, allocations: 301.8 kB / 1.479 GB, free: 3.82 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009659/0.6371, allocations: 0.52 MB / 1.479 GB, free: 3.254 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.6387, allocations: 0.6666 MB / 1.48 GB, free: 2.574 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.6387, allocations: 3.938 kB / 1.48 GB, free: 2.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002661/0.6414, allocations: 0.9233 MB / 1.481 GB, free: 1.637 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.6414, allocations: 4 kB / 1.481 GB, free: 1.633 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.6414, allocations: 8.125 kB / 1.481 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006888/0.6421, allocations: 80.77 kB / 1.481 GB, free: 1.543 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/0.643, allocations: 179.8 kB / 1.481 GB, free: 1.367 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.6456, allocations: 1.516 MB / 1.483 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008768/0.6465, allocations: 97.22 kB / 1.483 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.6466, allocations: 40.03 kB / 1.483 GB, free: 15.6 MB / 1.186 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.0005827/0.6472, allocations: 277.4 kB / 1.483 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.6474, allocations: 91.38 kB / 1.483 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.6506, allocations: 1.194 MB / 1.484 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.6506, allocations: 11.98 kB / 1.484 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.6506, allocations: 0 / 1.484 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.6506, allocations: 3.984 kB / 1.484 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.6518, allocations: 0.6653 MB / 1.485 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.6518, allocations: 0 / 1.485 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.6524, allocations: 155.8 kB / 1.485 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.6529, allocations: 76.78 kB / 1.485 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/0.653, allocations: 27.98 kB / 1.485 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.6551, allocations: 1.536 MB / 1.487 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6551, allocations: 7.969 kB / 1.487 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.6577, allocations: 0.9986 MB / 1.488 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/0.6582, allocations: 215 kB / 1.488 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.6584, allocations: 19.98 kB / 1.488 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/0.6591, allocations: 75.92 kB / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.6593, allocations: 76.84 kB / 1.488 GB, free: 10 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.6594, allocations: 35.98 kB / 1.488 GB, free: 9.969 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006827/0.66, allocations: 459 kB / 1.489 GB, free: 9.527 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.66, allocations: 0 / 1.489 GB, free: 9.527 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001017/0.6611, allocations: 347 kB / 1.489 GB, free: 9.188 MB / 1.186 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.002298/0.6634, allocations: 0.667 MB / 1.49 GB, free: 8.727 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.6656, allocations: 0.8821 MB / 1.49 GB, free: 7.832 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6656, allocations: 0 / 1.49 GB, free: 7.832 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.6668, allocations: 0.5236 MB / 1.491 GB, free: 7.301 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.6682, allocations: 296.6 kB / 1.491 GB, free: 7.027 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.6719, allocations: 1.695 MB / 1.493 GB, free: 5.305 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.6725, allocations: 436.1 kB / 1.493 GB, free: 4.848 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009725/0.6734, allocations: 278.7 kB / 1.494 GB, free: 4.57 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.6738, allocations: 115.4 kB / 1.494 GB, free: 4.457 MB / 1.186 GB Notification: Performance of SimCode: time 1.022e-06/0.6738, allocations: 0 / 1.494 GB, free: 4.457 MB / 1.186 GB Notification: Performance of Templates: time 0.03188/0.7057, allocations: 17.31 MB / 1.511 GB, free: 3.41 MB / 1.201 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.481539947912097]