Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.001716/0.001716, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002134/0.002134, allocations: 213.7 kB / 22.98 MB, free: 4.984 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.611/1.611, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.168/3.168, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") [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.002041/0.002041, allocations: 68.92 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3101, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009191/0.3193, allocations: 6.247 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.4976, allocations: 137 MB / 1.467 GB, free: 1.207 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.4988, allocations: 31.75 kB / 1.467 GB, free: 1.176 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00512/0.5039, allocations: 1.945 MB / 1.469 GB, free: 15.22 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.5069, allocations: 0.9111 MB / 1.47 GB, free: 14.31 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.5094, allocations: 1.016 MB / 1.471 GB, free: 13.3 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003285/0.5127, allocations: 2.687 MB / 1.473 GB, free: 10.61 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.5138, allocations: 0.6456 MB / 1.474 GB, free: 9.91 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.5152, allocations: 0.9501 MB / 1.475 GB, free: 8.957 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.5164, allocations: 0.9765 MB / 1.476 GB, free: 7.977 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.5167, allocations: 188 kB / 1.476 GB, free: 7.793 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004335/0.521, allocations: 2.711 MB / 1.479 GB, free: 5.078 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.5222, allocations: 1.162 MB / 1.48 GB, free: 3.914 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008408/0.523, allocations: 0.7619 MB / 1.481 GB, free: 3.148 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005446/0.5284, allocations: 3.897 MB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5284, allocations: 0 / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5284, allocations: 0 / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.134e-05/0.5285, allocations: 4 kB / 1.484 GB, free: 15.23 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004638/0.5331, allocations: 2.393 MB / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.5331, allocations: 12.03 kB / 1.487 GB, free: 12.78 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.5356, allocations: 355.4 kB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/0.5397, allocations: 2.881 MB / 1.49 GB, free: 9.504 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.5398, allocations: 98.55 kB / 1.49 GB, free: 9.406 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.54, allocations: 136 kB / 1.49 GB, free: 9.273 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.5428, allocations: 1.608 MB / 1.492 GB, free: 7.543 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.5428, allocations: 7.984 kB / 1.492 GB, free: 7.535 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.5429, allocations: 55.94 kB / 1.492 GB, free: 7.48 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.5429, allocations: 32 kB / 1.492 GB, free: 7.449 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.5456, allocations: 1.454 MB / 1.493 GB, free: 5.988 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007762/0.5533, allocations: 4.511 MB / 1.498 GB, free: 1.426 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.5555, allocations: 1.05 MB / 1.499 GB, free: 376 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007533/0.5562, allocations: 407.8 kB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.864e-05/0.5563, allocations: 24.97 kB / 1.499 GB, free: 15.94 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.5576, allocations: 0.7649 MB / 1.5 GB, free: 15.13 MB / 1.201 GB Notification: Performance of pre-optimization done (n=100): time 2.976e-06/0.5576, allocations: 0 / 1.5 GB, free: 15.13 MB / 1.201 GB Notification: Performance of matching and sorting (n=100): time 0.00439/0.562, allocations: 1.578 MB / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.5621, allocations: 196.9 kB / 1.502 GB, free: 13.31 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0052/0.5673, allocations: 4.046 MB / 1.505 GB, free: 9.25 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.5674, allocations: 45.7 kB / 1.506 GB, free: 9.199 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.5681, allocations: 0.6811 MB / 1.506 GB, free: 8.508 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.5685, allocations: 341.1 kB / 1.507 GB, free: 8.172 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.5695, allocations: 0.9721 MB / 1.507 GB, free: 7.188 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5697, allocations: 305.1 kB / 1.508 GB, free: 6.887 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006605/0.5763, allocations: 6.339 MB / 1.514 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007022/0.5833, allocations: 6.707 MB / 1.52 GB, free: 9.785 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008292/0.5916, allocations: 7.506 MB / 1.528 GB, free: 2.227 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.5916, allocations: 4 kB / 1.528 GB, free: 2.223 MB / 1.217 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01659/0.6082, allocations: 14.25 MB / 1.542 GB, free: 3.918 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.6082, allocations: 5.562 kB / 1.542 GB, free: 3.914 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6082, allocations: 7.938 kB / 1.542 GB, free: 3.906 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/0.6089, allocations: 84.83 kB / 1.542 GB, free: 3.82 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.6102, allocations: 251.6 kB / 1.542 GB, free: 3.574 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.6126, allocations: 1.504 MB / 1.544 GB, free: 1.961 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.6139, allocations: 127.2 kB / 1.544 GB, free: 1.836 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.614, allocations: 64.03 kB / 1.544 GB, free: 1.773 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (159): * Single equations (assignments): 145 * Array equations: 13 * 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.0009755/0.615, allocations: 0.6171 MB / 1.544 GB, free: 1.148 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.6153, allocations: 143 kB / 1.544 GB, free: 1.008 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/0.6187, allocations: 1.469 MB / 1.546 GB, free: 15.52 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.6188, allocations: 12 kB / 1.546 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.6188, allocations: 0 / 1.546 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.6188, allocations: 3.984 kB / 1.546 GB, free: 15.5 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.6202, allocations: 0.9379 MB / 1.547 GB, free: 14.54 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6202, allocations: 0 / 1.547 GB, free: 14.54 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.621, allocations: 187.7 kB / 1.547 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/0.6216, allocations: 64.8 kB / 1.547 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/0.6216, allocations: 43.91 kB / 1.547 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.6237, allocations: 1.521 MB / 1.549 GB, free: 12.62 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6237, allocations: 8.094 kB / 1.549 GB, free: 12.61 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.6266, allocations: 1.271 MB / 1.55 GB, free: 11.32 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006661/0.6272, allocations: 282.6 kB / 1.55 GB, free: 11.04 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.6274, allocations: 24 kB / 1.55 GB, free: 11.02 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.6283, allocations: 67.92 kB / 1.55 GB, free: 10.95 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.6284, allocations: 92.77 kB / 1.55 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.6285, allocations: 51.97 kB / 1.55 GB, free: 10.81 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002785/0.6313, allocations: 2.585 MB / 1.553 GB, free: 8.223 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6313, allocations: 0 / 1.553 GB, free: 8.223 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002377/0.6337, allocations: 1.044 MB / 1.554 GB, free: 7.176 MB / 1.248 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.003157/0.6369, allocations: 1 MB / 1.555 GB, free: 6.383 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00876/0.6456, allocations: 7.095 MB / 1.562 GB, free: 15.27 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6456, allocations: 0 / 1.562 GB, free: 15.27 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.647, allocations: 0.6292 MB / 1.562 GB, free: 14.63 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.6486, allocations: 341.3 kB / 1.563 GB, free: 14.31 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/0.6564, allocations: 5.048 MB / 1.568 GB, free: 9.227 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.6578, allocations: 1.148 MB / 1.569 GB, free: 8.043 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001221/0.659, allocations: 385.8 kB / 1.569 GB, free: 7.664 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.6595, allocations: 151.4 kB / 1.569 GB, free: 7.516 MB / 1.264 GB Notification: Performance of SimCode: time 9.01e-07/0.6595, allocations: 0 / 1.569 GB, free: 7.516 MB / 1.264 GB Notification: Performance of Templates: time 0.05624/0.7157, allocations: 32.35 MB / 1.601 GB, free: 7.426 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.547382605000166]