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.001485/0.001485, allocations: 113.9 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.001592/0.001592, allocations: 191.2 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.356/1.356, allocations: 225.6 MB / 251 MB, free: 13 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 2.939/2.939, allocations: 496 MB / 0.7835 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.001873/0.001873, allocations: 64.88 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3623, allocations: 173.6 MB / 1.307 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.01009/0.3723, allocations: 7.048 MB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1795/0.5519, allocations: 156 MB / 1.467 GB, free: 14.03 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.5532, allocations: 35.75 kB / 1.467 GB, free: 14 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.5582, allocations: 2 MB / 1.468 GB, free: 11.99 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.561, allocations: 0.9111 MB / 1.469 GB, free: 11.08 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.5634, allocations: 1.016 MB / 1.47 GB, free: 10.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002973/0.5664, allocations: 2.667 MB / 1.473 GB, free: 7.395 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009865/0.5674, allocations: 0.6455 MB / 1.474 GB, free: 6.699 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.5685, allocations: 0.9384 MB / 1.475 GB, free: 5.758 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.5696, allocations: 0.9571 MB / 1.475 GB, free: 4.797 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.5699, allocations: 184 kB / 1.476 GB, free: 4.617 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.5744, allocations: 2.75 MB / 1.478 GB, free: 1.863 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.5755, allocations: 1.162 MB / 1.479 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.5766, allocations: 0.9406 MB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00712/0.5837, allocations: 3.85 MB / 1.484 GB, free: 11.89 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5837, allocations: 4 kB / 1.484 GB, free: 11.89 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5837, allocations: 0 / 1.484 GB, free: 11.89 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.052e-05/0.5837, allocations: 0 / 1.484 GB, free: 11.89 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.005225/0.589, allocations: 2.381 MB / 1.486 GB, free: 9.461 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.589, allocations: 8.922 kB / 1.486 GB, free: 9.453 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.5902, allocations: 279.5 kB / 1.487 GB, free: 9.18 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/0.5941, allocations: 2.865 MB / 1.49 GB, free: 6.266 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-05/0.5942, allocations: 102.5 kB / 1.49 GB, free: 6.164 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.5944, allocations: 132 kB / 1.49 GB, free: 6.035 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.5968, allocations: 1.36 MB / 1.491 GB, free: 4.613 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.5969, allocations: 7.938 kB / 1.491 GB, free: 4.605 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.597, allocations: 52 kB / 1.491 GB, free: 4.555 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.597, allocations: 28 kB / 1.491 GB, free: 4.527 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.5995, allocations: 1.5 MB / 1.493 GB, free: 3.02 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0079/0.6074, allocations: 5.612 MB / 1.498 GB, free: 13.21 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.6094, allocations: 1.063 MB / 1.499 GB, free: 12.14 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/0.6101, allocations: 403.7 kB / 1.5 GB, free: 11.74 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.6102, allocations: 41.09 kB / 1.5 GB, free: 11.7 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.6113, allocations: 0.6528 MB / 1.5 GB, free: 11.03 MB / 1.201 GB Notification: Performance of pre-optimization done (n=100): time 2.465e-06/0.6113, allocations: 0 / 1.5 GB, free: 11.03 MB / 1.201 GB Notification: Performance of matching and sorting (n=100): time 0.00417/0.6155, allocations: 1.59 MB / 1.502 GB, free: 9.43 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.6156, allocations: 196.9 kB / 1.502 GB, free: 9.195 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005618/0.6212, allocations: 4.106 MB / 1.506 GB, free: 5.082 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002229/0.6214, allocations: 49.7 kB / 1.506 GB, free: 5.027 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008023/0.6222, allocations: 0.6776 MB / 1.507 GB, free: 4.344 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.6226, allocations: 341.1 kB / 1.507 GB, free: 4.008 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009566/0.6236, allocations: 0.976 MB / 1.508 GB, free: 3.023 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6237, allocations: 301.1 kB / 1.508 GB, free: 2.727 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006184/0.6299, allocations: 6.335 MB / 1.514 GB, free: 12.39 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006935/0.6369, allocations: 6.577 MB / 1.521 GB, free: 5.785 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008007/0.6449, allocations: 7.507 MB / 1.528 GB, free: 14.23 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.6449, allocations: 4 kB / 1.528 GB, free: 14.22 MB / 1.232 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01538/0.6602, allocations: 14.25 MB / 1.542 GB, free: 15.91 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.6603, allocations: 15.88 kB / 1.542 GB, free: 15.9 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.6603, allocations: 0 / 1.542 GB, free: 15.9 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.6609, allocations: 80.83 kB / 1.542 GB, free: 15.82 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.662, allocations: 247.7 kB / 1.542 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.6642, allocations: 1.533 MB / 1.544 GB, free: 13.92 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.6654, allocations: 151.9 kB / 1.544 GB, free: 13.77 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.6655, allocations: 60.03 kB / 1.544 GB, free: 13.71 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.0009706/0.6665, allocations: 0.6207 MB / 1.545 GB, free: 13.08 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.6668, allocations: 143.1 kB / 1.545 GB, free: 12.94 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/0.6698, allocations: 1.47 MB / 1.546 GB, free: 11.46 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.6698, allocations: 12 kB / 1.546 GB, free: 11.45 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.6698, allocations: 4 kB / 1.546 GB, free: 11.45 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6699, allocations: 3.984 kB / 1.546 GB, free: 11.44 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.6715, allocations: 1.275 MB / 1.548 GB, free: 10.12 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6715, allocations: 4 kB / 1.548 GB, free: 10.11 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.6722, allocations: 179.8 kB / 1.548 GB, free: 9.938 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/0.6727, allocations: 72.78 kB / 1.548 GB, free: 9.863 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.6727, allocations: 35.97 kB / 1.548 GB, free: 9.828 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.6746, allocations: 1.551 MB / 1.549 GB, free: 8.152 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6746, allocations: 7.922 kB / 1.549 GB, free: 8.145 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.6771, allocations: 1.283 MB / 1.551 GB, free: 6.84 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006502/0.6778, allocations: 286.6 kB / 1.551 GB, free: 6.559 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.678, allocations: 24 kB / 1.551 GB, free: 6.535 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007409/0.6787, allocations: 67.92 kB / 1.551 GB, free: 6.469 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.6789, allocations: 88.83 kB / 1.551 GB, free: 6.379 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.184e-05/0.679, allocations: 47.97 kB / 1.551 GB, free: 6.332 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002999/0.682, allocations: 2.634 MB / 1.554 GB, free: 3.695 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.682, allocations: 0 / 1.554 GB, free: 3.695 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003103/0.6851, allocations: 1.04 MB / 1.555 GB, free: 2.652 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.003139/0.6883, allocations: 0.9641 MB / 1.556 GB, free: 1.859 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008314/0.6966, allocations: 7.091 MB / 1.563 GB, free: 10.76 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6966, allocations: 0 / 1.563 GB, free: 10.76 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.6978, allocations: 0.6289 MB / 1.563 GB, free: 10.12 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.6994, allocations: 371.4 kB / 1.564 GB, free: 9.773 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007545/0.707, allocations: 4.962 MB / 1.568 GB, free: 4.77 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/0.7089, allocations: 1.716 MB / 1.57 GB, free: 3.023 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001674/0.7105, allocations: 386.4 kB / 1.57 GB, free: 2.641 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/0.7111, allocations: 155.4 kB / 1.571 GB, free: 2.488 MB / 1.264 GB Notification: Performance of SimCode: time 1.122e-06/0.7111, allocations: 4 kB / 1.571 GB, free: 2.484 MB / 1.264 GB Notification: Performance of Templates: time 0.05197/0.7631, allocations: 31.18 MB / 1.601 GB, free: 3.504 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: 9.993152443319559]