Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.001562/0.001562, 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.001712/0.001712, allocations: 211.4 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.121/3.121, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") [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.002051/0.002051, allocations: 68.47 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3091, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01076/0.3199, allocations: 7.283 MB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5075, allocations: 140.8 MB / 1.472 GB, free: 12.37 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.5092, allocations: 47.62 kB / 1.472 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00577/0.515, allocations: 2.144 MB / 1.474 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.5188, allocations: 1.314 MB / 1.475 GB, free: 8.855 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.5226, allocations: 1.514 MB / 1.477 GB, free: 7.348 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006719/0.5293, allocations: 5.898 MB / 1.482 GB, free: 1.438 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.5308, allocations: 0.75 MB / 1.483 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.5336, allocations: 1.757 MB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.5359, allocations: 1.631 MB / 1.486 GB, free: 13.24 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004535/0.5364, allocations: 280 kB / 1.487 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004856/0.5412, allocations: 2.789 MB / 1.489 GB, free: 10.17 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.002969/0.5442, allocations: 2.859 MB / 1.492 GB, free: 7.309 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.5458, allocations: 1.123 MB / 1.493 GB, free: 6.18 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007796/0.5535, allocations: 5.31 MB / 1.498 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5536, allocations: 3.984 kB / 1.498 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5536, allocations: 4 kB / 1.498 GB, free: 0.8438 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.04e-05/0.5536, allocations: 0 / 1.498 GB, free: 0.8438 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.006557/0.5602, allocations: 3.418 MB / 1.502 GB, free: 13.36 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5602, allocations: 8.031 kB / 1.502 GB, free: 13.35 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.5626, allocations: 454.8 kB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009385/0.572, allocations: 7.383 MB / 1.509 GB, free: 5.457 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.5722, allocations: 134.9 kB / 1.51 GB, free: 5.324 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.5725, allocations: 191.9 kB / 1.51 GB, free: 5.137 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.5761, allocations: 2.158 MB / 1.512 GB, free: 2.832 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.5761, allocations: 8 kB / 1.512 GB, free: 2.824 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.5763, allocations: 67.98 kB / 1.512 GB, free: 2.758 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.5763, allocations: 36 kB / 1.512 GB, free: 2.723 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003223/0.5795, allocations: 1.882 MB / 1.514 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.5934, allocations: 9.339 MB / 1.523 GB, free: 7.395 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.5963, allocations: 1.554 MB / 1.524 GB, free: 5.824 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.5977, allocations: 0.8778 MB / 1.525 GB, free: 4.938 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.5978, allocations: 24.98 kB / 1.525 GB, free: 4.91 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/0.5998, allocations: 1.278 MB / 1.527 GB, free: 3.586 MB / 1.217 GB Notification: Performance of pre-optimization done (n=117): time 3.096e-06/0.5998, allocations: 0 / 1.527 GB, free: 3.586 MB / 1.217 GB Notification: Performance of matching and sorting (n=117): time 0.006765/0.6065, allocations: 3.185 MB / 1.53 GB, free: 380 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002519/0.6068, allocations: 314.5 kB / 1.53 GB, free: 16 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01552/0.6223, allocations: 11.53 MB / 1.541 GB, free: 4.449 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003805/0.6227, allocations: 65.7 kB / 1.541 GB, free: 4.379 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.6237, allocations: 0.997 MB / 1.542 GB, free: 3.371 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.6242, allocations: 416.5 kB / 1.543 GB, free: 2.961 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002564/0.6267, allocations: 2.732 MB / 1.545 GB, free: 220 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6269, allocations: 305.1 kB / 1.546 GB, free: 15.91 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02032/0.6472, allocations: 20.09 MB / 1.565 GB, free: 11.81 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02152/0.6687, allocations: 20.8 MB / 1.586 GB, free: 6.922 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6145/1.283, allocations: 23.34 MB / 1.608 GB, free: 273.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/1.283, allocations: 2.781 kB / 1.608 GB, free: 273.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.03998/1.323, allocations: 44.33 MB / 1.652 GB, free: 251.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/1.323, allocations: 143.1 kB / 1.652 GB, free: 251.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.323, allocations: 4 kB / 1.652 GB, free: 251.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007108/1.324, allocations: 92.95 kB / 1.652 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.326, allocations: 408.8 kB / 1.652 GB, free: 251.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/1.327, allocations: 1.505 MB / 1.654 GB, free: 249.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.329, allocations: 231.8 kB / 1.654 GB, free: 249.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/1.329, allocations: 108 kB / 1.654 GB, free: 249.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (279): * Single equations (assignments): 238 * Array equations: 39 * Algorithm blocks: 1 * 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.001452/1.331, allocations: 1.525 MB / 1.656 GB, free: 248.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/1.331, allocations: 216.6 kB / 1.656 GB, free: 248.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/1.335, allocations: 2.711 MB / 1.658 GB, free: 245.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.335, allocations: 12 kB / 1.658 GB, free: 245.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.335, allocations: 2.188 kB / 1.658 GB, free: 245.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.335, allocations: 15.38 kB / 1.658 GB, free: 245.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/1.337, allocations: 1.316 MB / 1.66 GB, free: 244.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.337, allocations: 0 / 1.66 GB, free: 244.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/1.338, allocations: 188.5 kB / 1.66 GB, free: 244.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/1.338, allocations: 71.47 kB / 1.66 GB, free: 244.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.338, allocations: 39.73 kB / 1.66 GB, free: 244.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/1.34, allocations: 1.528 MB / 1.661 GB, free: 243 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.34, allocations: 3.188 kB / 1.661 GB, free: 243 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/1.344, allocations: 2.575 MB / 1.664 GB, free: 240.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008193/1.344, allocations: 412 kB / 1.664 GB, free: 240.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/1.345, allocations: 29.78 kB / 1.664 GB, free: 240.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009566/1.346, allocations: 82.45 kB / 1.664 GB, free: 240.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/1.346, allocations: 99.45 kB / 1.665 GB, free: 240.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.346, allocations: 60.91 kB / 1.665 GB, free: 240.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004545/1.35, allocations: 7.22 MB / 1.672 GB, free: 233.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.35, allocations: 0 / 1.672 GB, free: 233.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002813/1.353, allocations: 1.409 MB / 1.673 GB, free: 232.3 MB / 1.295 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.002912/1.356, allocations: 1.004 MB / 1.674 GB, free: 231.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01541/1.372, allocations: 21.93 MB / 1.695 GB, free: 211 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.372, allocations: 0 / 1.695 GB, free: 211 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/1.373, allocations: 1.443 MB / 1.697 GB, free: 209.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/1.376, allocations: 431.6 kB / 1.697 GB, free: 209.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.387, allocations: 11.71 MB / 1.709 GB, free: 197.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/1.389, allocations: 2.487 MB / 1.711 GB, free: 195.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001347/1.39, allocations: 0.504 MB / 1.712 GB, free: 194.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/1.391, allocations: 195.3 kB / 1.712 GB, free: 194.6 MB / 1.295 GB Notification: Performance of SimCode: time 9.01e-07/1.391, allocations: 0 / 1.712 GB, free: 194.6 MB / 1.295 GB Notification: Performance of Templates: time 0.06785/1.459, allocations: 52.99 MB / 1.764 GB, free: 142 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.935953153006267]