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.001825/0.001825, allocations: 111 kB / 16.46 MB, free: 6.453 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.002301/0.002301, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.199/3.199, allocations: 0.4899 GB / 0.7916 GB, free: 33.25 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.002136/0.002136, allocations: 71.39 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3879, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009867/0.3977, allocations: 7.03 MB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2064/0.6042, allocations: 158.7 MB / 1.483 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.6066, allocations: 35.75 kB / 1.483 GB, free: 12.37 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005659/0.6123, allocations: 1.832 MB / 1.485 GB, free: 10.53 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.6159, allocations: 0.9173 MB / 1.486 GB, free: 9.613 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.619, allocations: 0.9978 MB / 1.487 GB, free: 8.621 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004361/0.6234, allocations: 2.59 MB / 1.489 GB, free: 6.023 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.6251, allocations: 0.6682 MB / 1.49 GB, free: 5.305 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.6273, allocations: 0.9384 MB / 1.491 GB, free: 4.363 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.6293, allocations: 0.9687 MB / 1.492 GB, free: 3.391 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007806/0.6301, allocations: 188 kB / 1.492 GB, free: 3.207 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005365/0.6354, allocations: 2.364 MB / 1.494 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00165/0.6371, allocations: 1.166 MB / 1.496 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002101/0.6392, allocations: 0.9561 MB / 1.496 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008851/0.648, allocations: 3.831 MB / 1.5 GB, free: 10.87 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.648, allocations: 0 / 1.5 GB, free: 10.87 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.415e-06/0.648, allocations: 3.938 kB / 1.5 GB, free: 10.86 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001029/0.6482, allocations: 0 / 1.5 GB, free: 10.86 MB / 1.201 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.006322/0.6545, allocations: 2.478 MB / 1.503 GB, free: 8.324 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.6545, allocations: 11.98 kB / 1.503 GB, free: 8.312 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.6569, allocations: 351.4 kB / 1.503 GB, free: 7.969 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004255/0.6611, allocations: 2.96 MB / 1.506 GB, free: 4.953 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.6612, allocations: 102.5 kB / 1.506 GB, free: 4.852 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.6614, allocations: 128 kB / 1.506 GB, free: 4.727 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.6642, allocations: 1.36 MB / 1.507 GB, free: 3.305 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.6642, allocations: 0 / 1.507 GB, free: 3.305 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.6643, allocations: 52 kB / 1.507 GB, free: 3.254 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.6643, allocations: 35.94 kB / 1.507 GB, free: 3.219 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.6671, allocations: 1.5 MB / 1.509 GB, free: 1.711 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/0.6771, allocations: 5.678 MB / 1.514 GB, free: 11.83 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.6796, allocations: 1.065 MB / 1.516 GB, free: 10.76 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008724/0.6804, allocations: 417.3 kB / 1.516 GB, free: 10.35 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.6805, allocations: 37.05 kB / 1.516 GB, free: 10.31 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.6818, allocations: 0.6645 MB / 1.517 GB, free: 9.629 MB / 1.217 GB Notification: Performance of pre-optimization done (n=100): time 3.106e-06/0.6818, allocations: 0 / 1.517 GB, free: 9.629 MB / 1.217 GB Notification: Performance of matching and sorting (n=100): time 0.004773/0.6866, allocations: 1.661 MB / 1.518 GB, free: 7.941 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.6868, allocations: 196.9 kB / 1.518 GB, free: 7.707 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00605/0.6928, allocations: 4.134 MB / 1.522 GB, free: 3.551 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003036/0.6931, allocations: 49.7 kB / 1.523 GB, free: 3.496 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008396/0.694, allocations: 0.666 MB / 1.523 GB, free: 2.824 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006077/0.6946, allocations: 353.1 kB / 1.523 GB, free: 2.477 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/0.696, allocations: 0.9643 MB / 1.524 GB, free: 1.504 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.6962, allocations: 305.1 kB / 1.525 GB, free: 1.203 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007252/0.7034, allocations: 6.339 MB / 1.531 GB, free: 10.86 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007777/0.7112, allocations: 6.577 MB / 1.537 GB, free: 4.262 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009268/0.7205, allocations: 7.466 MB / 1.545 GB, free: 12.75 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.7205, allocations: 0 / 1.545 GB, free: 12.75 MB / 1.248 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01802/0.7385, allocations: 14.18 MB / 1.558 GB, free: 14.51 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.7385, allocations: 4 kB / 1.558 GB, free: 14.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.7386, allocations: 7.984 kB / 1.558 GB, free: 14.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007038/0.7393, allocations: 84.83 kB / 1.559 GB, free: 14.41 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.7406, allocations: 251.6 kB / 1.559 GB, free: 14.16 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/0.7431, allocations: 1.634 MB / 1.56 GB, free: 12.38 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.7448, allocations: 143.2 kB / 1.561 GB, free: 12.24 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003416/0.7452, allocations: 63.89 kB / 1.561 GB, free: 12.18 MB / 1.264 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.001324/0.7465, allocations: 0.6171 MB / 1.561 GB, free: 11.55 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.747, allocations: 147 kB / 1.561 GB, free: 11.41 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.7507, allocations: 1.47 MB / 1.563 GB, free: 9.926 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.7507, allocations: 15.98 kB / 1.563 GB, free: 9.91 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7507, allocations: 0 / 1.563 GB, free: 9.91 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.7507, allocations: 7.984 kB / 1.563 GB, free: 9.902 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.753, allocations: 1.312 MB / 1.564 GB, free: 8.531 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.753, allocations: 0 / 1.564 GB, free: 8.531 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/0.7538, allocations: 187.7 kB / 1.564 GB, free: 8.348 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/0.7543, allocations: 80.77 kB / 1.564 GB, free: 8.266 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.7544, allocations: 31.97 kB / 1.564 GB, free: 8.234 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.7566, allocations: 1.654 MB / 1.566 GB, free: 6.434 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7566, allocations: 8 kB / 1.566 GB, free: 6.426 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.7597, allocations: 1.271 MB / 1.567 GB, free: 5.129 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008689/0.7606, allocations: 383.6 kB / 1.568 GB, free: 4.734 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.7609, allocations: 28.06 kB / 1.568 GB, free: 4.707 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/0.7619, allocations: 67.92 kB / 1.568 GB, free: 4.641 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.7622, allocations: 88.88 kB / 1.568 GB, free: 4.555 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.7623, allocations: 43.98 kB / 1.568 GB, free: 4.512 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003302/0.7656, allocations: 2.65 MB / 1.57 GB, free: 1.859 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7656, allocations: 0 / 1.57 GB, free: 1.859 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002772/0.7683, allocations: 1.044 MB / 1.571 GB, free: 0.8125 MB / 1.264 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.003739/0.7721, allocations: 0.9617 MB / 1.572 GB, free: 20 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0094/0.7815, allocations: 7.087 MB / 1.579 GB, free: 8.918 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7815, allocations: 4.062 kB / 1.579 GB, free: 8.914 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.783, allocations: 0.6328 MB / 1.58 GB, free: 8.266 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.7853, allocations: 371.5 kB / 1.58 GB, free: 7.922 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008981/0.7943, allocations: 4.886 MB / 1.585 GB, free: 3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/0.7965, allocations: 1.722 MB / 1.587 GB, free: 1.246 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001545/0.798, allocations: 394.5 kB / 1.587 GB, free: 0.8555 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005862/0.7986, allocations: 155.4 kB / 1.587 GB, free: 0.7031 MB / 1.279 GB Notification: Performance of SimCode: time 1.252e-06/0.7986, allocations: 4 kB / 1.587 GB, free: 0.6992 MB / 1.279 GB Notification: Performance of Templates: time 0.7439/1.543, allocations: 30.82 MB / 1.617 GB, free: 276.6 MB / 1.295 GB " [Timeout remaining time 298] 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.23249202920124]