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.001424/0.001424, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001612/0.001612, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.588/1.588, allocations: 230.5 MB / 252.8 MB, free: 9.133 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.303/3.303, allocations: 0.4899 GB / 0.7915 GB, free: 33.49 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.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.00207/0.00207, allocations: 76.94 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3763, allocations: 176.1 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.0106/0.3869, allocations: 8.291 MB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2049/0.5918, allocations: 162.9 MB / 1.488 GB, free: 6.961 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.5947, allocations: 51.62 kB / 1.488 GB, free: 6.91 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006033/0.6007, allocations: 2.027 MB / 1.49 GB, free: 4.875 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004355/0.6051, allocations: 1.317 MB / 1.492 GB, free: 3.559 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004199/0.6093, allocations: 1.446 MB / 1.493 GB, free: 2.117 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007137/0.6164, allocations: 5.423 MB / 1.498 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.618, allocations: 0.7883 MB / 1.499 GB, free: 11.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.6213, allocations: 1.738 MB / 1.501 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.624, allocations: 1.611 MB / 1.502 GB, free: 8.48 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000521/0.6245, allocations: 280 kB / 1.503 GB, free: 8.207 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004634/0.6292, allocations: 2.462 MB / 1.505 GB, free: 5.742 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.002937/0.6321, allocations: 2.847 MB / 1.508 GB, free: 2.891 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.6341, allocations: 1.415 MB / 1.509 GB, free: 1.469 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.009284/0.6434, allocations: 5.236 MB / 1.514 GB, free: 12.21 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6434, allocations: 7.938 kB / 1.514 GB, free: 12.2 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6434, allocations: 0 / 1.514 GB, free: 12.2 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.619e-05/0.6434, allocations: 0 / 1.514 GB, free: 12.2 MB / 1.217 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.007546/0.651, allocations: 3.516 MB / 1.518 GB, free: 8.609 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.651, allocations: 11.98 kB / 1.518 GB, free: 8.598 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.6536, allocations: 454.8 kB / 1.518 GB, free: 8.152 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009926/0.6635, allocations: 7.47 MB / 1.526 GB, free: 0.6133 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.6636, allocations: 142.9 kB / 1.526 GB, free: 484 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.6639, allocations: 184 kB / 1.526 GB, free: 300 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/0.6674, allocations: 1.971 MB / 1.528 GB, free: 14.24 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.6674, allocations: 3.938 kB / 1.528 GB, free: 14.24 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.6676, allocations: 60 kB / 1.528 GB, free: 14.18 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.6676, allocations: 36 kB / 1.528 GB, free: 14.14 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/0.6709, allocations: 1.982 MB / 1.53 GB, free: 12.16 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/0.6869, allocations: 10.72 MB / 1.54 GB, free: 1.191 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.6901, allocations: 1.576 MB / 1.542 GB, free: 15.61 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.6915, allocations: 0.9041 MB / 1.543 GB, free: 14.7 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 9.456e-05/0.6916, allocations: 33.11 kB / 1.543 GB, free: 14.67 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/0.6934, allocations: 1.199 MB / 1.544 GB, free: 13.45 MB / 1.248 GB Notification: Performance of pre-optimization done (n=117): time 2.865e-06/0.6934, allocations: 0 / 1.544 GB, free: 13.45 MB / 1.248 GB Notification: Performance of matching and sorting (n=117): time 0.007184/0.7006, allocations: 3.499 MB / 1.547 GB, free: 9.918 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002767/0.7009, allocations: 338.5 kB / 1.548 GB, free: 9.539 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01647/0.7173, allocations: 11.62 MB / 1.559 GB, free: 13.89 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005402/0.7179, allocations: 65.7 kB / 1.559 GB, free: 13.82 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.7191, allocations: 0.9782 MB / 1.56 GB, free: 12.83 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/0.7197, allocations: 424.5 kB / 1.56 GB, free: 12.41 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002772/0.7225, allocations: 2.724 MB / 1.563 GB, free: 9.676 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.7226, allocations: 301.1 kB / 1.563 GB, free: 9.379 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02062/0.7432, allocations: 20.11 MB / 1.583 GB, free: 5.262 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02389/0.7671, allocations: 20.71 MB / 1.603 GB, free: 0.5039 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7469/1.514, allocations: 23.56 MB / 1.626 GB, free: 268.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.146e-05/1.514, allocations: 1.094 kB / 1.626 GB, free: 268.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.0341/1.548, allocations: 44.28 MB / 1.67 GB, free: 232.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.000231/1.548, allocations: 169.6 kB / 1.67 GB, free: 232.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/1.548, allocations: 8.062 kB / 1.67 GB, free: 232.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/1.549, allocations: 90.81 kB / 1.67 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.551, allocations: 401.2 kB / 1.67 GB, free: 232.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/1.553, allocations: 1.648 MB / 1.672 GB, free: 230.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/1.555, allocations: 243.6 kB / 1.672 GB, free: 230.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/1.555, allocations: 111.5 kB / 1.672 GB, free: 230.5 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.00156/1.556, allocations: 1.546 MB / 1.674 GB, free: 229 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/1.557, allocations: 224.6 kB / 1.674 GB, free: 228.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/1.561, allocations: 2.96 MB / 1.677 GB, free: 226.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/1.561, allocations: 12.88 kB / 1.677 GB, free: 226.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.561, allocations: 3.938 kB / 1.677 GB, free: 226.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.561, allocations: 8.047 kB / 1.677 GB, free: 226.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/1.563, allocations: 1.801 MB / 1.679 GB, free: 225.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.563, allocations: 3.188 kB / 1.679 GB, free: 225.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/1.564, allocations: 180.7 kB / 1.679 GB, free: 224.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/1.564, allocations: 73.53 kB / 1.679 GB, free: 224.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.564, allocations: 47.12 kB / 1.679 GB, free: 224.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/1.566, allocations: 1.659 MB / 1.68 GB, free: 223.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.566, allocations: 4.688 kB / 1.68 GB, free: 223.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/1.569, allocations: 2.82 MB / 1.683 GB, free: 220.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/1.57, allocations: 496.4 kB / 1.684 GB, free: 220.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/1.57, allocations: 34.2 kB / 1.684 GB, free: 220.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009094/1.571, allocations: 75.73 kB / 1.684 GB, free: 220.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/1.571, allocations: 105.9 kB / 1.684 GB, free: 220 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.571, allocations: 64.97 kB / 1.684 GB, free: 220 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004537/1.576, allocations: 7.285 MB / 1.691 GB, free: 213.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.576, allocations: 0 / 1.691 GB, free: 213.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003504/1.58, allocations: 1.4 MB / 1.692 GB, free: 212 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.002875/1.582, allocations: 0.9653 MB / 1.693 GB, free: 211.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01708/1.599, allocations: 22.03 MB / 1.715 GB, free: 189.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.599, allocations: 0 / 1.715 GB, free: 189.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002343/1.602, allocations: 1.534 MB / 1.716 GB, free: 188.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/1.604, allocations: 450.6 kB / 1.717 GB, free: 187.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.617, allocations: 11.31 MB / 1.728 GB, free: 176.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/1.619, allocations: 3.013 MB / 1.731 GB, free: 173.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001625/1.621, allocations: 0.519 MB / 1.731 GB, free: 172.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/1.621, allocations: 195.4 kB / 1.731 GB, free: 172.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/1.621, allocations: 0 / 1.731 GB, free: 172.6 MB / 1.295 GB Notification: Performance of Templates: time 0.07114/1.693, allocations: 49.49 MB / 1.78 GB, free: 123.4 MB / 1.295 GB " [Timeout remaining time 298] 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 -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/jenkins/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: 11.759239997249097]