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.00222/0.00222, 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.001753/0.001753, allocations: 209 kB / 22.99 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.343/3.343, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.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.002102/0.002102, allocations: 66.59 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.01011/0.3609, allocations: 6.231 MB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1902/0.5512, allocations: 137 MB / 1.467 GB, free: 1.168 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.5525, allocations: 39.69 kB / 1.467 GB, free: 1.129 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005251/0.5578, allocations: 1.945 MB / 1.469 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003199/0.561, allocations: 0.9126 MB / 1.47 GB, free: 14.26 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.5636, allocations: 1.017 MB / 1.471 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003499/0.5671, allocations: 2.687 MB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.5684, allocations: 0.6418 MB / 1.474 GB, free: 9.863 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.5704, allocations: 0.9462 MB / 1.475 GB, free: 8.914 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.572, allocations: 0.9778 MB / 1.476 GB, free: 7.934 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.5723, allocations: 188 kB / 1.476 GB, free: 7.75 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005025/0.5774, allocations: 2.707 MB / 1.479 GB, free: 5.039 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.5787, allocations: 1.162 MB / 1.48 GB, free: 3.875 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5798, allocations: 0.7697 MB / 1.481 GB, free: 3.102 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006441/0.5862, allocations: 3.893 MB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5862, allocations: 0 / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5862, allocations: 0 / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.232e-05/0.5863, allocations: 4 kB / 1.484 GB, free: 15.19 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.00487/0.5911, allocations: 2.401 MB / 1.487 GB, free: 12.74 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.5912, allocations: 8.031 kB / 1.487 GB, free: 12.73 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.5934, allocations: 351.4 kB / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/0.5977, allocations: 2.877 MB / 1.49 GB, free: 9.465 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.874e-05/0.5978, allocations: 106.5 kB / 1.49 GB, free: 9.359 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.598, allocations: 139.9 kB / 1.49 GB, free: 9.223 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.6007, allocations: 1.608 MB / 1.492 GB, free: 7.492 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.6008, allocations: 0 / 1.492 GB, free: 7.492 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.6009, allocations: 52 kB / 1.492 GB, free: 7.441 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.6009, allocations: 32 kB / 1.492 GB, free: 7.41 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.6035, allocations: 1.457 MB / 1.493 GB, free: 5.945 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008202/0.6117, allocations: 4.516 MB / 1.498 GB, free: 1.379 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.6139, allocations: 1.051 MB / 1.499 GB, free: 328 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007436/0.6146, allocations: 407.8 kB / 1.499 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.791e-05/0.6147, allocations: 32.97 kB / 1.499 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.616, allocations: 0.7571 MB / 1.5 GB, free: 15.08 MB / 1.201 GB Notification: Performance of pre-optimization done (n=100): time 3.015e-06/0.616, allocations: 0 / 1.5 GB, free: 15.08 MB / 1.201 GB Notification: Performance of matching and sorting (n=100): time 0.004324/0.6204, allocations: 1.578 MB / 1.501 GB, free: 13.49 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.6205, allocations: 204.8 kB / 1.502 GB, free: 13.25 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/0.6256, allocations: 4.038 MB / 1.505 GB, free: 9.199 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.6258, allocations: 49.7 kB / 1.506 GB, free: 9.145 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007248/0.6265, allocations: 0.6771 MB / 1.506 GB, free: 8.461 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.6269, allocations: 353 kB / 1.507 GB, free: 8.113 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.6279, allocations: 0.9643 MB / 1.507 GB, free: 7.137 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6281, allocations: 301.1 kB / 1.508 GB, free: 6.84 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006684/0.6348, allocations: 6.339 MB / 1.514 GB, free: 0.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007162/0.6419, allocations: 6.707 MB / 1.52 GB, free: 9.738 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00876/0.6507, allocations: 7.499 MB / 1.528 GB, free: 2.188 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.6507, allocations: 0 / 1.528 GB, free: 2.188 MB / 1.217 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01674/0.6674, allocations: 14.26 MB / 1.542 GB, free: 3.875 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.6675, allocations: 8 kB / 1.542 GB, free: 3.867 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.6675, allocations: 8.047 kB / 1.542 GB, free: 3.859 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007212/0.6682, allocations: 80.81 kB / 1.542 GB, free: 3.777 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.6695, allocations: 251.6 kB / 1.542 GB, free: 3.531 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.6718, allocations: 1.496 MB / 1.544 GB, free: 1.926 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.6732, allocations: 133 kB / 1.544 GB, free: 1.797 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.6734, allocations: 63.89 kB / 1.544 GB, free: 1.734 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.001098/0.6745, allocations: 0.6172 MB / 1.544 GB, free: 1.109 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.6748, allocations: 143 kB / 1.544 GB, free: 0.9688 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.6782, allocations: 1.47 MB / 1.546 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.6782, allocations: 12 kB / 1.546 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6782, allocations: 0 / 1.546 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.6782, allocations: 3.984 kB / 1.546 GB, free: 15.46 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.6798, allocations: 0.9417 MB / 1.547 GB, free: 14.5 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.6798, allocations: 4 kB / 1.547 GB, free: 14.49 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008012/0.6806, allocations: 191.7 kB / 1.547 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.6811, allocations: 64.8 kB / 1.547 GB, free: 14.24 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/0.6812, allocations: 35.91 kB / 1.547 GB, free: 14.2 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.6833, allocations: 1.529 MB / 1.549 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6833, allocations: 4.062 kB / 1.549 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.6861, allocations: 1.267 MB / 1.55 GB, free: 11.28 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007378/0.6869, allocations: 286.6 kB / 1.55 GB, free: 11 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.6871, allocations: 24 kB / 1.55 GB, free: 10.97 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.6879, allocations: 67.92 kB / 1.55 GB, free: 10.91 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.6881, allocations: 96.7 kB / 1.55 GB, free: 10.81 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.6882, allocations: 47.97 kB / 1.55 GB, free: 10.77 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002849/0.6911, allocations: 2.585 MB / 1.553 GB, free: 8.176 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.6911, allocations: 0 / 1.553 GB, free: 8.176 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00262/0.6937, allocations: 1.048 MB / 1.554 GB, free: 7.125 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.003197/0.6969, allocations: 1.002 MB / 1.555 GB, free: 6.328 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008665/0.7055, allocations: 7.091 MB / 1.562 GB, free: 15.22 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.7056, allocations: 4 kB / 1.562 GB, free: 15.22 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.7069, allocations: 0.6292 MB / 1.562 GB, free: 14.57 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.7085, allocations: 341.9 kB / 1.563 GB, free: 14.26 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008048/0.7166, allocations: 5.036 MB / 1.568 GB, free: 9.184 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/0.718, allocations: 1.147 MB / 1.569 GB, free: 8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001365/0.7194, allocations: 389.8 kB / 1.569 GB, free: 7.617 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.7198, allocations: 155.4 kB / 1.569 GB, free: 7.465 MB / 1.264 GB Notification: Performance of SimCode: time 1.122e-06/0.7198, allocations: 0 / 1.569 GB, free: 7.465 MB / 1.264 GB Notification: Performance of Templates: time 0.05844/0.7783, allocations: 32.36 MB / 1.601 GB, free: 7.371 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 cvode -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: 11.364413615010562]