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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001289/0.001289, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001262/0.001262, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 73.23 kB / 0.9116 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3096, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009926/0.3195, allocations: 6.929 MB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1666/0.4862, allocations: 153.1 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/0.4887, allocations: 27.88 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006621/0.4954, allocations: 1.639 MB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.4987, allocations: 0.8122 MB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.5016, allocations: 0.8807 MB / 1.227 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004969/0.5066, allocations: 2.578 MB / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.5086, allocations: 0.9454 MB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.5108, allocations: 0.9187 MB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.5126, allocations: 0.9454 MB / 1.233 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006314/0.5132, allocations: 184 kB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/0.5177, allocations: 2.243 MB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.5191, allocations: 1.15 MB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.5209, allocations: 0.9522 MB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006227/0.5271, allocations: 3.724 MB / 1.241 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.5271, allocations: 4 kB / 1.241 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5271, allocations: 0 / 1.241 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001113/0.5273, allocations: 0 / 1.241 GB, free: 9.023 MB / 0.9981 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.00586/0.5331, allocations: 2.375 MB / 1.243 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5332, allocations: 8.031 kB / 1.243 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5343, allocations: 266.4 kB / 1.243 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.5376, allocations: 2.901 MB / 1.246 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.5377, allocations: 106.5 kB / 1.246 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.5379, allocations: 132 kB / 1.246 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.5402, allocations: 1.357 MB / 1.248 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.5402, allocations: 3.938 kB / 1.248 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.5403, allocations: 52 kB / 1.248 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.5404, allocations: 32 kB / 1.248 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.5426, allocations: 1.496 MB / 1.249 GB, free: 124 kB / 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.654/1.197, allocations: 5.604 MB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/1.199, allocations: 1.124 MB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/1.2, allocations: 448.2 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.416e-05/1.2, allocations: 36.2 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/1.201, allocations: 0.6462 MB / 1.257 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 3.226e-06/1.201, allocations: 1.453 kB / 1.257 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.00364/1.204, allocations: 1.662 MB / 1.258 GB, free: 181 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/1.204, allocations: 192.6 kB / 1.259 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/1.209, allocations: 4.101 MB / 1.263 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/1.209, allocations: 51.67 kB / 1.263 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/1.209, allocations: 0.6527 MB / 1.263 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/1.21, allocations: 330.8 kB / 1.264 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/1.211, allocations: 0.9521 MB / 1.265 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.006e-05/1.211, allocations: 301.8 kB / 1.265 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006812/1.218, allocations: 6.34 MB / 1.271 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006955/1.225, allocations: 6.579 MB / 1.277 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008225/1.233, allocations: 7.47 MB / 1.285 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/1.233, allocations: 3.938 kB / 1.285 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01245/1.245, allocations: 14.16 MB / 1.299 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/1.245, allocations: 4 kB / 1.299 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.245, allocations: 0.7031 kB / 1.299 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/1.246, allocations: 86.3 kB / 1.299 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/1.247, allocations: 255.2 kB / 1.299 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/1.249, allocations: 1.657 MB / 1.301 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/1.25, allocations: 144.3 kB / 1.301 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.25, allocations: 61.81 kB / 1.301 GB, free: 158.5 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.0008621/1.251, allocations: 0.6179 MB / 1.301 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/1.251, allocations: 138.2 kB / 1.301 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/1.254, allocations: 1.479 MB / 1.303 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.254, allocations: 12 kB / 1.303 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.254, allocations: 2.625 kB / 1.303 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/1.254, allocations: 5.906 kB / 1.303 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/1.256, allocations: 1.312 MB / 1.304 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.256, allocations: 0 / 1.304 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007054/1.257, allocations: 184.2 kB / 1.304 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/1.257, allocations: 75.75 kB / 1.304 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.065e-05/1.257, allocations: 26.8 kB / 1.304 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/1.259, allocations: 1.661 MB / 1.306 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.259, allocations: 4.734 kB / 1.306 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/1.261, allocations: 1.276 MB / 1.307 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/1.261, allocations: 355.9 kB / 1.308 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/1.262, allocations: 33.48 kB / 1.308 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007418/1.262, allocations: 71.69 kB / 1.308 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.263, allocations: 84.88 kB / 1.308 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/1.263, allocations: 47.83 kB / 1.308 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001819/1.265, allocations: 2.645 MB / 1.311 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.265, allocations: 0 / 1.311 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001961/1.266, allocations: 1.008 MB / 1.311 GB, free: 148.5 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.002137/1.269, allocations: 0.9539 MB / 1.312 GB, free: 148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007186/1.276, allocations: 8.681 MB / 1.321 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.276, allocations: 3.938 kB / 1.321 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000968/1.277, allocations: 0.6721 MB / 1.322 GB, free: 139 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.278, allocations: 370.6 kB / 1.322 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005508/1.284, allocations: 5.634 MB / 1.327 GB, free: 133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009209/1.285, allocations: 1.72 MB / 1.329 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001143/1.286, allocations: 386.4 kB / 1.329 GB, free: 130.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/1.286, allocations: 147.4 kB / 1.33 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.286, allocations: 3.938 kB / 1.33 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04898/1.335, allocations: 29.69 MB / 1.359 GB, free: 101.2 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