Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001732/0.001732, 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.002043/0.002043, allocations: 189.5 kB / 16.25 MB, free: 6.645 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7041, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007764/0.7119, allocations: 6.959 MB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1662/0.8781, allocations: 153.1 MB / 1.173 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.8796, allocations: 23.88 kB / 1.173 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004569/0.8843, allocations: 1.655 MB / 1.175 GB, free: 352 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.8869, allocations: 0.8015 MB / 1.176 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.8892, allocations: 0.8852 MB / 1.176 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.892, allocations: 2.578 MB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.8933, allocations: 0.9415 MB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.8946, allocations: 0.9109 MB / 1.181 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.8958, allocations: 0.9532 MB / 1.182 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.896, allocations: 184 kB / 1.182 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.8998, allocations: 2.239 MB / 1.184 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008955/0.9007, allocations: 1.158 MB / 1.185 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008666/0.9016, allocations: 0.9444 MB / 1.186 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00543/0.9071, allocations: 3.728 MB / 1.19 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9071, allocations: 0 / 1.19 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9071, allocations: 0 / 1.19 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.846e-05/0.9071, allocations: 0 / 1.19 GB, free: 0.9492 MB / 0.9356 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.004177/0.9113, allocations: 2.371 MB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.9113, allocations: 8.031 kB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.9124, allocations: 270.4 kB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.9154, allocations: 2.908 MB / 1.195 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.9155, allocations: 106.5 kB / 1.195 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.9156, allocations: 132 kB / 1.195 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.9179, allocations: 1.36 MB / 1.197 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.9179, allocations: 0 / 1.197 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.918, allocations: 56 kB / 1.197 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.918, allocations: 32 kB / 1.197 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.9203, allocations: 1.496 MB / 1.198 GB, free: 8.039 MB / 0.9512 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.007277/0.9276, allocations: 5.6 MB / 1.204 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.9296, allocations: 1.129 MB / 1.205 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.9302, allocations: 445 kB / 1.205 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/0.9303, allocations: 37.09 kB / 1.205 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.9314, allocations: 0.649 MB / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=100): time 5.911e-06/0.9314, allocations: 7.984 kB / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100): time 0.003771/0.9352, allocations: 1.66 MB / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.9353, allocations: 196.9 kB / 1.208 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/0.9397, allocations: 4.102 MB / 1.212 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.9399, allocations: 49.7 kB / 1.212 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/0.9404, allocations: 0.6608 MB / 1.212 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.9406, allocations: 323.3 kB / 1.213 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008546/0.9415, allocations: 0.9547 MB / 1.214 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9416, allocations: 309 kB / 1.214 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005685/0.9473, allocations: 6.343 MB / 1.22 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005889/0.9532, allocations: 6.569 MB / 1.227 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007014/0.9602, allocations: 7.47 MB / 1.234 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.9603, allocations: 4 kB / 1.234 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01373/0.974, allocations: 14.16 MB / 1.248 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.9741, allocations: 8 kB / 1.248 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.9741, allocations: 0 / 1.248 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/0.9747, allocations: 84.83 kB / 1.248 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.9757, allocations: 247.6 kB / 1.248 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.9777, allocations: 1.643 MB / 1.25 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.979, allocations: 150.8 kB / 1.25 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.9791, allocations: 55.97 kB / 1.25 GB, free: 2.613 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.0009266/0.9801, allocations: 0.6254 MB / 1.25 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.9803, allocations: 134.3 kB / 1.251 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003017/0.9833, allocations: 1.478 MB / 1.252 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.9833, allocations: 12 kB / 1.252 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9834, allocations: 4 kB / 1.252 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.9834, allocations: 7.969 kB / 1.252 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6571/1.64, allocations: 1.297 MB / 1.253 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.641, allocations: 0 / 1.253 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009835/1.642, allocations: 182.1 kB / 1.253 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005708/1.642, allocations: 72.88 kB / 1.254 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.642, allocations: 32.17 kB / 1.254 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/1.644, allocations: 1.661 MB / 1.255 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.644, allocations: 0.9062 kB / 1.255 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/1.648, allocations: 1.277 MB / 1.256 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/1.649, allocations: 358.2 kB / 1.257 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/1.649, allocations: 23.47 kB / 1.257 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.65, allocations: 85.7 kB / 1.257 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/1.651, allocations: 85.92 kB / 1.257 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/1.651, allocations: 46.28 kB / 1.257 GB, free: 230 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004711/1.655, allocations: 2.636 MB / 1.26 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.41e-07/1.655, allocations: 0 / 1.26 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0041/1.66, allocations: 1.021 MB / 1.261 GB, free: 229.3 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.003489/1.663, allocations: 0.947 MB / 1.261 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01433/1.677, allocations: 8.682 MB / 1.27 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.677, allocations: 0 / 1.27 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/1.679, allocations: 0.6662 MB / 1.271 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.681, allocations: 379 kB / 1.271 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009932/1.691, allocations: 5.639 MB / 1.276 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/1.693, allocations: 1.718 MB / 1.278 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002086/1.696, allocations: 388.2 kB / 1.279 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/1.696, allocations: 151.3 kB / 1.279 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.553e-06/1.696, allocations: 7.938 kB / 1.279 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07101/1.767, allocations: 29.69 MB / 1.308 GB, free: 195.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches