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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 191 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.236/3.236, allocations: 496 MB / 0.7835 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 62.98 kB / 1.138 GB, free: 33.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3812, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007335/0.3886, allocations: 4.752 MB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1977/0.5863, allocations: 151.2 MB / 1.46 GB, free: 5.305 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.5873, allocations: 23.81 kB / 1.46 GB, free: 5.281 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.5881, allocations: 190.3 kB / 1.46 GB, free: 5.094 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.5903, allocations: 0.5328 MB / 1.46 GB, free: 4.562 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.5929, allocations: 0.8695 MB / 1.461 GB, free: 3.699 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.5953, allocations: 1.393 MB / 1.462 GB, free: 2.301 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008464/0.5962, allocations: 364.5 kB / 1.463 GB, free: 1.922 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000926/0.5971, allocations: 498.2 kB / 1.463 GB, free: 1.434 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007374/0.5978, allocations: 497.9 kB / 1.464 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.598, allocations: 116 kB / 1.464 GB, free: 0.832 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.5997, allocations: 0.8739 MB / 1.465 GB, free: 15.96 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.6, allocations: 287.1 kB / 1.465 GB, free: 15.68 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.6006, allocations: 0.5285 MB / 1.466 GB, free: 15.14 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.6034, allocations: 1.802 MB / 1.467 GB, free: 13.34 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6034, allocations: 0 / 1.467 GB, free: 13.34 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6034, allocations: 0 / 1.467 GB, free: 13.34 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.6034, allocations: 0 / 1.467 GB, free: 13.34 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.002905/0.6063, allocations: 1.423 MB / 1.469 GB, free: 11.87 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.6063, allocations: 8.922 kB / 1.469 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.6076, allocations: 212.1 kB / 1.469 GB, free: 11.66 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.609, allocations: 0.6987 MB / 1.47 GB, free: 10.93 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.6091, allocations: 57.98 kB / 1.47 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6092, allocations: 72 kB / 1.47 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.611, allocations: 0.8957 MB / 1.471 GB, free: 9.863 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.611, allocations: 0 / 1.471 GB, free: 9.863 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.6111, allocations: 32 kB / 1.471 GB, free: 9.832 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.6111, allocations: 20 kB / 1.471 GB, free: 9.812 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.6133, allocations: 1.128 MB / 1.472 GB, free: 8.688 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004601/0.6179, allocations: 2.531 MB / 1.474 GB, free: 6.066 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.6197, allocations: 0.7973 MB / 1.475 GB, free: 5.258 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.6204, allocations: 310.7 kB / 1.475 GB, free: 4.953 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.161e-05/0.6205, allocations: 32.61 kB / 1.475 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.6217, allocations: 0.5303 MB / 1.476 GB, free: 4.371 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.184e-06/0.6217, allocations: 0 / 1.476 GB, free: 4.371 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003947/0.6256, allocations: 1.213 MB / 1.477 GB, free: 3.152 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.6258, allocations: 192.6 kB / 1.477 GB, free: 2.918 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009951/0.6268, allocations: 0.641 MB / 1.478 GB, free: 2.27 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.643e-05/0.6269, allocations: 41.7 kB / 1.478 GB, free: 2.223 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.6273, allocations: 385.2 kB / 1.478 GB, free: 1.84 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.6276, allocations: 273.7 kB / 1.478 GB, free: 1.57 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.6279, allocations: 174.6 kB / 1.479 GB, free: 1.391 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002469/0.6281, allocations: 398.7 kB / 1.479 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/0.6288, allocations: 293.8 kB / 1.479 GB, free: 0.707 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008273/0.6296, allocations: 403.9 kB / 1.48 GB, free: 304 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.6311, allocations: 0.6667 MB / 1.48 GB, free: 15.61 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6311, allocations: 0 / 1.48 GB, free: 15.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002452/0.6336, allocations: 0.9272 MB / 1.481 GB, free: 14.68 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6336, allocations: 12.12 kB / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6336, allocations: 0 / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/0.6342, allocations: 80.78 kB / 1.481 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.635, allocations: 171.8 kB / 1.481 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.6374, allocations: 1.55 MB / 1.483 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.6382, allocations: 96.75 kB / 1.483 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/0.6383, allocations: 43.97 kB / 1.483 GB, free: 12.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.0004966/0.6388, allocations: 272.5 kB / 1.483 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.639, allocations: 91.38 kB / 1.483 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/0.642, allocations: 1.198 MB / 1.485 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.6421, allocations: 12 kB / 1.485 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.6421, allocations: 0 / 1.485 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.6421, allocations: 11.92 kB / 1.485 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.6433, allocations: 0.8794 MB / 1.486 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.6433, allocations: 0 / 1.486 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/0.644, allocations: 163.7 kB / 1.486 GB, free: 9.922 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004826/0.6445, allocations: 76.78 kB / 1.486 GB, free: 9.844 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.297e-05/0.6446, allocations: 27.97 kB / 1.486 GB, free: 9.816 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.6467, allocations: 1.579 MB / 1.487 GB, free: 8.117 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6467, allocations: 3.984 kB / 1.487 GB, free: 8.113 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.6492, allocations: 1.002 MB / 1.488 GB, free: 7.09 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.6497, allocations: 207.1 kB / 1.489 GB, free: 6.887 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.6498, allocations: 20 kB / 1.489 GB, free: 6.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/0.6505, allocations: 78.09 kB / 1.489 GB, free: 6.793 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.6506, allocations: 72.86 kB / 1.489 GB, free: 6.723 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.6507, allocations: 39.97 kB / 1.489 GB, free: 6.684 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006564/0.6514, allocations: 463 kB / 1.489 GB, free: 6.238 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6514, allocations: 0 / 1.489 GB, free: 6.238 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009401/0.6523, allocations: 335.2 kB / 1.489 GB, free: 5.91 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.002055/0.6544, allocations: 0.6334 MB / 1.49 GB, free: 5.449 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.6566, allocations: 0.8703 MB / 1.491 GB, free: 4.566 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.6566, allocations: 4 kB / 1.491 GB, free: 4.562 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.6577, allocations: 0.5197 MB / 1.491 GB, free: 4.031 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.659, allocations: 303.3 kB / 1.492 GB, free: 3.758 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.6625, allocations: 1.684 MB / 1.493 GB, free: 2.043 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/0.6634, allocations: 1.016 MB / 1.494 GB, free: 1 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009506/0.6643, allocations: 270.9 kB / 1.495 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.6646, allocations: 111.4 kB / 1.495 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of SimCode: time 6.81e-07/0.6646, allocations: 0 / 1.495 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of Templates: time 0.03275/0.6974, allocations: 16.6 MB / 1.511 GB, free: 212 kB / 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.384226541034877]