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.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.001539/0.001539, allocations: 106 kB / 18.84 MB, free: 3.043 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.001618/0.001618, allocations: 188.1 kB / 22.1 MB, free: 5.152 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.512/1.512, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.271/3.271, allocations: 495.8 MB / 0.783 GB, free: 33.55 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.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: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.2 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3409, allocations: 173.6 MB / 1.307 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009901/0.3508, allocations: 7.003 MB / 1.314 GB, free: 10.83 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1954/0.5463, allocations: 154.4 MB / 1.464 GB, free: 15.87 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.5475, allocations: 39.62 kB / 1.464 GB, free: 15.83 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005218/0.5527, allocations: 1.992 MB / 1.466 GB, free: 13.83 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.5557, allocations: 0.9035 MB / 1.467 GB, free: 12.93 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.5585, allocations: 1.02 MB / 1.468 GB, free: 11.91 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003833/0.5623, allocations: 2.676 MB / 1.471 GB, free: 9.23 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.5638, allocations: 0.6455 MB / 1.471 GB, free: 8.535 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.5659, allocations: 0.9268 MB / 1.472 GB, free: 7.605 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.5674, allocations: 0.9648 MB / 1.473 GB, free: 6.637 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003318/0.5677, allocations: 184 kB / 1.473 GB, free: 6.457 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005543/0.5733, allocations: 2.676 MB / 1.476 GB, free: 3.777 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.5749, allocations: 1.162 MB / 1.477 GB, free: 2.613 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.5765, allocations: 0.9405 MB / 1.478 GB, free: 1.668 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007745/0.5842, allocations: 3.823 MB / 1.482 GB, free: 13.83 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5842, allocations: 0 / 1.482 GB, free: 13.83 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5842, allocations: 0 / 1.482 GB, free: 13.83 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.839e-05/0.5842, allocations: 4 kB / 1.482 GB, free: 13.83 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.004927/0.5892, allocations: 2.376 MB / 1.484 GB, free: 11.41 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5892, allocations: 12.02 kB / 1.484 GB, free: 11.4 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.5904, allocations: 275.5 kB / 1.484 GB, free: 11.13 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004266/0.5946, allocations: 2.861 MB / 1.487 GB, free: 8.219 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.5948, allocations: 106.5 kB / 1.487 GB, free: 8.113 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.595, allocations: 132 kB / 1.487 GB, free: 7.984 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.5976, allocations: 1.36 MB / 1.489 GB, free: 6.562 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5977, allocations: 0 / 1.489 GB, free: 6.562 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.5978, allocations: 56 kB / 1.489 GB, free: 6.508 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.5978, allocations: 32 kB / 1.489 GB, free: 6.477 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.6005, allocations: 1.5 MB / 1.49 GB, free: 4.969 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00882/0.6093, allocations: 5.577 MB / 1.496 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.6116, allocations: 1.065 MB / 1.497 GB, free: 14.12 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000871/0.6125, allocations: 415.6 kB / 1.497 GB, free: 13.71 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.6126, allocations: 41.08 kB / 1.497 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.6138, allocations: 0.6489 MB / 1.498 GB, free: 13 MB / 1.201 GB Notification: Performance of pre-optimization done (n=100): time 2.735e-06/0.6138, allocations: 8 kB / 1.498 GB, free: 13 MB / 1.201 GB Notification: Performance of matching and sorting (n=100): time 0.004544/0.6184, allocations: 1.586 MB / 1.499 GB, free: 11.4 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.6185, allocations: 192.9 kB / 1.5 GB, free: 11.17 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005791/0.6243, allocations: 4.106 MB / 1.504 GB, free: 7.055 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.6245, allocations: 49.7 kB / 1.504 GB, free: 7 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000733/0.6253, allocations: 0.6698 MB / 1.504 GB, free: 6.324 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.6258, allocations: 345.1 kB / 1.505 GB, free: 5.984 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.6269, allocations: 0.9682 MB / 1.506 GB, free: 5.008 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.627, allocations: 301.1 kB / 1.506 GB, free: 4.711 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007011/0.634, allocations: 6.339 MB / 1.512 GB, free: 14.37 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007926/0.6419, allocations: 6.577 MB / 1.519 GB, free: 7.766 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009289/0.6512, allocations: 7.51 MB / 1.526 GB, free: 212 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.6512, allocations: 0 / 1.526 GB, free: 212 kB / 1.217 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01893/0.6702, allocations: 14.25 MB / 1.54 GB, free: 1.895 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.6702, allocations: 9.094 kB / 1.54 GB, free: 1.887 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.6702, allocations: 0 / 1.54 GB, free: 1.887 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006617/0.6709, allocations: 92.77 kB / 1.54 GB, free: 1.793 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.6721, allocations: 251.6 kB / 1.54 GB, free: 1.547 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.6748, allocations: 1.538 MB / 1.542 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.6762, allocations: 143.1 kB / 1.542 GB, free: 15.75 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.6764, allocations: 63.95 kB / 1.542 GB, free: 15.68 MB / 1.248 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.001192/0.6775, allocations: 0.6166 MB / 1.542 GB, free: 15.06 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.6779, allocations: 143.1 kB / 1.543 GB, free: 14.92 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/0.6814, allocations: 1.474 MB / 1.544 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.6814, allocations: 12 kB / 1.544 GB, free: 13.42 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6814, allocations: 4 kB / 1.544 GB, free: 13.42 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.6814, allocations: 7.969 kB / 1.544 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.6835, allocations: 1.279 MB / 1.545 GB, free: 12.08 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6835, allocations: 0 / 1.545 GB, free: 12.08 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.6843, allocations: 179.7 kB / 1.545 GB, free: 11.91 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004935/0.6848, allocations: 76.78 kB / 1.546 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.6849, allocations: 27.98 kB / 1.546 GB, free: 11.8 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.6871, allocations: 1.559 MB / 1.547 GB, free: 10.12 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.6872, allocations: 3.938 kB / 1.547 GB, free: 10.11 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.6901, allocations: 1.275 MB / 1.548 GB, free: 8.816 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006925/0.6907, allocations: 290.5 kB / 1.549 GB, free: 8.531 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.691, allocations: 27.98 kB / 1.549 GB, free: 8.504 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008313/0.6918, allocations: 73.8 kB / 1.549 GB, free: 8.434 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.692, allocations: 92.83 kB / 1.549 GB, free: 8.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/0.6921, allocations: 44.05 kB / 1.549 GB, free: 8.297 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003271/0.6954, allocations: 2.634 MB / 1.551 GB, free: 5.66 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6954, allocations: 0 / 1.551 GB, free: 5.66 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002679/0.698, allocations: 1.033 MB / 1.552 GB, free: 4.625 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.003302/0.7013, allocations: 0.9695 MB / 1.553 GB, free: 3.828 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.009899/0.7112, allocations: 7.091 MB / 1.56 GB, free: 12.73 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7113, allocations: 0 / 1.56 GB, free: 12.73 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.7127, allocations: 0.6368 MB / 1.561 GB, free: 12.08 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.7144, allocations: 357.9 kB / 1.561 GB, free: 11.75 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008079/0.7225, allocations: 4.947 MB / 1.566 GB, free: 6.758 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/0.7241, allocations: 1.729 MB / 1.568 GB, free: 5 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001445/0.7256, allocations: 398.3 kB / 1.568 GB, free: 4.605 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.726, allocations: 143.4 kB / 1.568 GB, free: 4.465 MB / 1.264 GB Notification: Performance of SimCode: time 1.503e-06/0.726, allocations: 0 / 1.568 GB, free: 4.465 MB / 1.264 GB Notification: Performance of Templates: time 0.06268/0.7887, allocations: 31.17 MB / 1.599 GB, free: 5.488 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 -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/jenkins/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: 11.31991657614708]