Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.001383/0.001383, 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.001876/0.001876, allocations: 206.9 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.217/3.217, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") [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.00205/0.00205, allocations: 63.56 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01059/0.3435, allocations: 7.272 MB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2178/0.5612, allocations: 140.8 MB / 1.472 GB, free: 12.38 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.5632, allocations: 55.56 kB / 1.472 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006367/0.5695, allocations: 2.14 MB / 1.474 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.574, allocations: 1.32 MB / 1.475 GB, free: 8.852 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.578, allocations: 1.512 MB / 1.477 GB, free: 7.344 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007365/0.5854, allocations: 5.89 MB / 1.482 GB, free: 1.441 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.5872, allocations: 0.7539 MB / 1.483 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.5911, allocations: 1.757 MB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.594, allocations: 1.631 MB / 1.486 GB, free: 13.24 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0008119/0.5948, allocations: 280 kB / 1.487 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005651/0.6004, allocations: 2.793 MB / 1.489 GB, free: 10.17 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003331/0.6038, allocations: 2.859 MB / 1.492 GB, free: 7.305 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.6056, allocations: 1.127 MB / 1.493 GB, free: 6.172 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008129/0.6137, allocations: 5.302 MB / 1.498 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.6137, allocations: 0 / 1.498 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6137, allocations: 0 / 1.498 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.736e-05/0.6138, allocations: 0 / 1.498 GB, free: 0.8516 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.00664/0.6204, allocations: 3.426 MB / 1.502 GB, free: 13.36 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.6205, allocations: 12.03 kB / 1.502 GB, free: 13.35 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.6227, allocations: 450.8 kB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.6331, allocations: 7.386 MB / 1.509 GB, free: 5.453 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.6332, allocations: 142.9 kB / 1.51 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.6336, allocations: 180 kB / 1.51 GB, free: 5.137 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/0.6373, allocations: 2.166 MB / 1.512 GB, free: 2.824 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.6373, allocations: 3.938 kB / 1.512 GB, free: 2.82 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.6375, allocations: 60 kB / 1.512 GB, free: 2.762 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.6375, allocations: 36 kB / 1.512 GB, free: 2.727 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.6409, allocations: 1.89 MB / 1.514 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.6565, allocations: 9.351 MB / 1.523 GB, free: 7.383 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.66, allocations: 1.544 MB / 1.524 GB, free: 5.82 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.6614, allocations: 0.8777 MB / 1.525 GB, free: 4.934 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.6615, allocations: 28.97 kB / 1.525 GB, free: 4.902 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002015/0.6635, allocations: 1.274 MB / 1.527 GB, free: 3.582 MB / 1.217 GB Notification: Performance of pre-optimization done (n=117): time 4.088e-06/0.6635, allocations: 4 kB / 1.527 GB, free: 3.578 MB / 1.217 GB Notification: Performance of matching and sorting (n=117): time 0.007193/0.6707, allocations: 3.189 MB / 1.53 GB, free: 368 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000282/0.671, allocations: 318.5 kB / 1.53 GB, free: 0 / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/0.6877, allocations: 11.52 MB / 1.541 GB, free: 4.441 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005098/0.6882, allocations: 65.7 kB / 1.541 GB, free: 4.371 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.6896, allocations: 0.9931 MB / 1.542 GB, free: 3.367 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005943/0.6902, allocations: 420.5 kB / 1.543 GB, free: 2.953 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002905/0.6931, allocations: 2.728 MB / 1.545 GB, free: 216 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6932, allocations: 301.1 kB / 1.546 GB, free: 15.91 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02174/0.715, allocations: 20.09 MB / 1.565 GB, free: 11.81 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02318/0.7382, allocations: 20.81 MB / 1.586 GB, free: 6.918 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7428/1.481, allocations: 23.34 MB / 1.608 GB, free: 275 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/1.481, allocations: 0.875 kB / 1.608 GB, free: 275 MB / 1.295 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04581/1.527, allocations: 44.33 MB / 1.652 GB, free: 252.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002332/1.527, allocations: 142.2 kB / 1.652 GB, free: 252.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.527, allocations: 4 kB / 1.652 GB, free: 252.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/1.528, allocations: 93.2 kB / 1.652 GB, free: 252.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/1.529, allocations: 396.8 kB / 1.652 GB, free: 252.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/1.531, allocations: 1.513 MB / 1.654 GB, free: 250.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.533, allocations: 229 kB / 1.654 GB, free: 250.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/1.534, allocations: 111.4 kB / 1.654 GB, free: 250.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (279): * Single equations (assignments): 238 * Array equations: 39 * Algorithm blocks: 1 * 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.001956/1.536, allocations: 1.526 MB / 1.656 GB, free: 249.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006936/1.536, allocations: 217.6 kB / 1.656 GB, free: 249 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/1.541, allocations: 2.721 MB / 1.658 GB, free: 246.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.541, allocations: 13.34 kB / 1.658 GB, free: 246.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.541, allocations: 0 / 1.658 GB, free: 246.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/1.541, allocations: 13.88 kB / 1.658 GB, free: 246.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/1.543, allocations: 1.312 MB / 1.66 GB, free: 245.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.543, allocations: 3.672 kB / 1.66 GB, free: 245.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/1.544, allocations: 180.3 kB / 1.66 GB, free: 245.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/1.544, allocations: 73.91 kB / 1.66 GB, free: 245.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.544, allocations: 40.16 kB / 1.66 GB, free: 245.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/1.546, allocations: 1.531 MB / 1.661 GB, free: 243.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.546, allocations: 0.7969 kB / 1.661 GB, free: 243.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/1.55, allocations: 2.572 MB / 1.664 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.551, allocations: 416.1 kB / 1.664 GB, free: 241.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/1.551, allocations: 29.25 kB / 1.664 GB, free: 241.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008857/1.552, allocations: 78.91 kB / 1.664 GB, free: 241.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/1.553, allocations: 102.5 kB / 1.665 GB, free: 241.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.553, allocations: 60.25 kB / 1.665 GB, free: 241.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005826/1.559, allocations: 7.218 MB / 1.672 GB, free: 234.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.8e-07/1.559, allocations: 0 / 1.672 GB, free: 234.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004302/1.563, allocations: 1.407 MB / 1.673 GB, free: 233.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.003188/1.566, allocations: 0.9965 MB / 1.674 GB, free: 232.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01706/1.583, allocations: 21.94 MB / 1.695 GB, free: 211.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.583, allocations: 0 / 1.695 GB, free: 211.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/1.585, allocations: 1.446 MB / 1.697 GB, free: 210.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/1.587, allocations: 429 kB / 1.697 GB, free: 210.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.6, allocations: 11.72 MB / 1.709 GB, free: 198.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/1.603, allocations: 2.487 MB / 1.711 GB, free: 196.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001573/1.604, allocations: 0.512 MB / 1.712 GB, free: 195.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/1.605, allocations: 191.4 kB / 1.712 GB, free: 195.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.432e-06/1.605, allocations: 0 / 1.712 GB, free: 195.4 MB / 1.295 GB Notification: Performance of Templates: time 0.07096/1.676, allocations: 52.99 MB / 1.764 GB, free: 142.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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: 11.754910040006507]