Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 197.9 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.77 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3903, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009593/0.3999, allocations: 6.935 MB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.5802, allocations: 153.2 MB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.5822, allocations: 23.88 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005684/0.5879, allocations: 1.643 MB / 1.21 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.5912, allocations: 0.7887 MB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.5941, allocations: 0.8568 MB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003699/0.5978, allocations: 2.634 MB / 1.214 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.5996, allocations: 0.9146 MB / 1.215 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.6011, allocations: 0.7898 MB / 1.216 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.603, allocations: 0.8985 MB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.6035, allocations: 100 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/0.6081, allocations: 2.04 MB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.6096, allocations: 1.068 MB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.6114, allocations: 0.8701 MB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006593/0.618, allocations: 3.63 MB / 1.224 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.618, allocations: 0 / 1.224 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.618, allocations: 0 / 1.224 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001045/0.6181, allocations: 0 / 1.224 GB, free: 7.719 MB / 0.9825 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.005837/0.624, allocations: 2.38 MB / 1.227 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.624, allocations: 8.031 kB / 1.227 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.6253, allocations: 270.4 kB / 1.227 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.6292, allocations: 2.9 MB / 1.23 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.612e-05/0.6294, allocations: 102.5 kB / 1.23 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.6296, allocations: 132 kB / 1.23 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.6324, allocations: 1.36 MB / 1.231 GB, free: 412 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.6324, allocations: 4 kB / 1.231 GB, free: 408 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.6326, allocations: 56 kB / 1.231 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.6326, allocations: 31.94 kB / 1.231 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.6352, allocations: 1.496 MB / 1.233 GB, free: 14.81 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008762/0.6439, allocations: 5.608 MB / 1.238 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.6462, allocations: 1.112 MB / 1.239 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007811/0.647, allocations: 443.6 kB / 1.24 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-05/0.6471, allocations: 41.03 kB / 1.24 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.6483, allocations: 0.6566 MB / 1.241 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 1.266e-05/0.6483, allocations: 7.984 kB / 1.241 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.004135/0.6524, allocations: 1.652 MB / 1.242 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.6526, allocations: 196.9 kB / 1.242 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005065/0.6576, allocations: 4.109 MB / 1.246 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.6578, allocations: 53.7 kB / 1.246 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.6889/1.347, allocations: 0.6426 MB / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/1.347, allocations: 327.8 kB / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/1.349, allocations: 0.9587 MB / 1.248 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/1.349, allocations: 302 kB / 1.249 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006428/1.356, allocations: 6.336 MB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009831/1.365, allocations: 6.577 MB / 1.261 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009975/1.375, allocations: 7.46 MB / 1.269 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-05/1.376, allocations: 2.562 kB / 1.269 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01716/1.393, allocations: 14.17 MB / 1.282 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/1.393, allocations: 4 kB / 1.282 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.393, allocations: 0.6562 kB / 1.282 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/1.393, allocations: 89.89 kB / 1.282 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.395, allocations: 246 kB / 1.283 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/1.397, allocations: 1.527 MB / 1.284 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/1.398, allocations: 148.9 kB / 1.284 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/1.398, allocations: 62.08 kB / 1.284 GB, free: 182.6 MB / 0.9981 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): 146 * Array equations: 12 * 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.0009347/1.399, allocations: 0.6185 MB / 1.285 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/1.399, allocations: 138.8 kB / 1.285 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/1.402, allocations: 1.475 MB / 1.287 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.402, allocations: 15.19 kB / 1.287 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.402, allocations: 7.812 kB / 1.287 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/1.402, allocations: 5.578 kB / 1.287 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/1.404, allocations: 1.306 MB / 1.288 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.404, allocations: 0.7031 kB / 1.288 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/1.405, allocations: 184.1 kB / 1.288 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/1.405, allocations: 86.2 kB / 1.288 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-05/1.406, allocations: 31.3 kB / 1.288 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/1.407, allocations: 1.549 MB / 1.29 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.407, allocations: 0 / 1.29 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/1.409, allocations: 1.273 MB / 1.291 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005503/1.41, allocations: 355.7 kB / 1.291 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/1.41, allocations: 28.56 kB / 1.291 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000779/1.411, allocations: 76.16 kB / 1.291 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/1.411, allocations: 92.58 kB / 1.291 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.811e-05/1.411, allocations: 47.45 kB / 1.291 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002093/1.413, allocations: 2.634 MB / 1.294 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.413, allocations: 0 / 1.294 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002404/1.416, allocations: 1.022 MB / 1.295 GB, free: 172.8 MB / 0.9981 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.002417/1.418, allocations: 0.9538 MB / 1.296 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007336/1.426, allocations: 8.379 MB / 1.304 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.426, allocations: 0 / 1.304 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.427, allocations: 0.6681 MB / 1.305 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/1.429, allocations: 343 kB / 1.305 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/1.436, allocations: 5.633 MB / 1.311 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/1.438, allocations: 1.72 MB / 1.312 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001707/1.439, allocations: 382.2 kB / 1.313 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/1.44, allocations: 150.1 kB / 1.313 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/1.44, allocations: 1.859 kB / 1.313 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04744/1.487, allocations: 28.97 MB / 1.341 GB, free: 128.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches