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.001581/0.001581, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001993/0.001993, allocations: 211.6 kB / 22.99 MB, free: 4.957 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.111/3.111, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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: 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.002025/0.002025, allocations: 64.16 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006641/0.3553, allocations: 4.309 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.5222, allocations: 132.7 MB / 1.461 GB, free: 7.484 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000887/0.5231, allocations: 23.81 kB / 1.461 GB, free: 7.461 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.5237, allocations: 194.2 kB / 1.461 GB, free: 7.27 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.5255, allocations: 0.5431 MB / 1.462 GB, free: 6.727 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.5277, allocations: 0.8787 MB / 1.462 GB, free: 5.855 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.5294, allocations: 1.417 MB / 1.464 GB, free: 4.434 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006666/0.5301, allocations: 376.5 kB / 1.464 GB, free: 4.043 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.5308, allocations: 0.4983 MB / 1.465 GB, free: 3.543 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.5314, allocations: 497.9 kB / 1.465 GB, free: 3.055 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.5315, allocations: 112 kB / 1.465 GB, free: 2.945 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.533, allocations: 0.8623 MB / 1.466 GB, free: 2.082 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.5333, allocations: 295 kB / 1.466 GB, free: 1.793 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.5337, allocations: 441.8 kB / 1.467 GB, free: 1.359 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.5361, allocations: 1.853 MB / 1.469 GB, free: 15.5 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5361, allocations: 0 / 1.469 GB, free: 15.5 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.582e-06/0.5361, allocations: 0 / 1.469 GB, free: 15.5 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.5361, allocations: 0 / 1.469 GB, free: 15.5 MB / 1.17 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.002818/0.5389, allocations: 1.446 MB / 1.47 GB, free: 14.02 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5389, allocations: 12.03 kB / 1.47 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.5408, allocations: 275.9 kB / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.5422, allocations: 0.7182 MB / 1.471 GB, free: 12.99 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.5422, allocations: 58 kB / 1.471 GB, free: 12.93 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.5424, allocations: 72 kB / 1.471 GB, free: 12.86 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.5442, allocations: 1.151 MB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.5442, allocations: 7.938 kB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.5443, allocations: 32 kB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.5444, allocations: 20 kB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.5465, allocations: 1.077 MB / 1.473 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.5505, allocations: 2.108 MB / 1.475 GB, free: 8.309 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.5522, allocations: 0.7783 MB / 1.476 GB, free: 7.52 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/0.5529, allocations: 318.6 kB / 1.476 GB, free: 7.207 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.362e-05/0.553, allocations: 24.64 kB / 1.476 GB, free: 7.184 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.5541, allocations: 0.6229 MB / 1.477 GB, free: 6.516 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.5541, allocations: 0 / 1.477 GB, free: 6.516 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003898/0.558, allocations: 1.22 MB / 1.478 GB, free: 5.289 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.5582, allocations: 188.6 kB / 1.478 GB, free: 5.059 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009037/0.5591, allocations: 0.641 MB / 1.479 GB, free: 4.414 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.407e-05/0.5592, allocations: 41.7 kB / 1.479 GB, free: 4.367 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.5595, allocations: 397 kB / 1.48 GB, free: 3.973 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.5598, allocations: 281.6 kB / 1.48 GB, free: 3.695 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.5601, allocations: 166.6 kB / 1.48 GB, free: 3.527 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5603, allocations: 386.8 kB / 1.48 GB, free: 3.141 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.561, allocations: 297.8 kB / 1.481 GB, free: 2.848 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009234/0.5619, allocations: 0.5238 MB / 1.481 GB, free: 2.277 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.5635, allocations: 0.6705 MB / 1.482 GB, free: 1.594 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5635, allocations: 0 / 1.482 GB, free: 1.594 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002546/0.566, allocations: 0.9233 MB / 1.483 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.566, allocations: 12.12 kB / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.566, allocations: 3.984 kB / 1.483 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006883/0.5667, allocations: 80.77 kB / 1.483 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/0.5676, allocations: 187.8 kB / 1.483 GB, free: 388 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.5698, allocations: 1.51 MB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000856/0.5707, allocations: 95.59 kB / 1.484 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.5708, allocations: 36.22 kB / 1.485 GB, free: 14.62 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.0004806/0.5713, allocations: 279.7 kB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.5715, allocations: 91.38 kB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.5746, allocations: 1.194 MB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.5746, allocations: 8 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5746, allocations: 4 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5746, allocations: 7.984 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.5755, allocations: 0.6552 MB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5755, allocations: 0 / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.5763, allocations: 167.8 kB / 1.487 GB, free: 12.17 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/0.5768, allocations: 76.72 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/0.5768, allocations: 27.97 kB / 1.487 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.5789, allocations: 1.536 MB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5789, allocations: 3.938 kB / 1.488 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.5813, allocations: 0.9986 MB / 1.489 GB, free: 9.398 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/0.5818, allocations: 214.9 kB / 1.49 GB, free: 9.188 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.5819, allocations: 24 kB / 1.49 GB, free: 9.164 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.5826, allocations: 71.92 kB / 1.49 GB, free: 9.094 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.5828, allocations: 80.84 kB / 1.49 GB, free: 9.016 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/0.5829, allocations: 35.97 kB / 1.49 GB, free: 8.98 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006077/0.5835, allocations: 459 kB / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5835, allocations: 3.938 kB / 1.49 GB, free: 8.535 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009199/0.5844, allocations: 342.9 kB / 1.491 GB, free: 8.203 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.002163/0.5866, allocations: 0.6622 MB / 1.491 GB, free: 7.746 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.5887, allocations: 0.8704 MB / 1.492 GB, free: 6.863 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5887, allocations: 0 / 1.492 GB, free: 6.863 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.5898, allocations: 0.5275 MB / 1.493 GB, free: 6.328 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.591, allocations: 313.8 kB / 1.493 GB, free: 6.043 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.5942, allocations: 1.681 MB / 1.495 GB, free: 4.332 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.5947, allocations: 440.1 kB / 1.495 GB, free: 3.871 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008282/0.5955, allocations: 278.7 kB / 1.495 GB, free: 3.594 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.5958, allocations: 119.4 kB / 1.495 GB, free: 3.477 MB / 1.186 GB Notification: Performance of SimCode: time 7.22e-07/0.5958, allocations: 0 / 1.495 GB, free: 3.477 MB / 1.186 GB Notification: Performance of Templates: time 0.02994/0.6258, allocations: 17.55 MB / 1.513 GB, free: 2.188 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 -s gbode -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.57319042000745]