Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001568/0.001568, 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.001867/0.001867, allocations: 196.8 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6805, allocations: 140.3 MB / 0.9489 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006676/0.6872, allocations: 5.725 MB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1702/0.8575, allocations: 153.1 MB / 1.104 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.8588, allocations: 19.88 kB / 1.104 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004752/0.8636, allocations: 1.624 MB / 1.106 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.8661, allocations: 0.6978 MB / 1.106 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.8689, allocations: 0.8527 MB / 1.107 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003037/0.8719, allocations: 2.431 MB / 1.11 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.8734, allocations: 0.9452 MB / 1.11 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.8748, allocations: 0.7663 MB / 1.111 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.8763, allocations: 0.8634 MB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.8768, allocations: 96 kB / 1.112 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004491/0.8813, allocations: 2.056 MB / 1.114 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.8826, allocations: 1.064 MB / 1.115 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.8841, allocations: 0.8155 MB / 1.116 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007049/0.8912, allocations: 3.56 MB / 1.119 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8912, allocations: 0 / 1.119 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8913, allocations: 4 kB / 1.119 GB, free: 3 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.869e-05/0.8914, allocations: 0 / 1.119 GB, free: 3 MB / 0.8731 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.005618/0.897, allocations: 2.338 MB / 1.122 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.897, allocations: 12.03 kB / 1.122 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.8984, allocations: 266.4 kB / 1.122 GB, free: 344 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.902, allocations: 2.908 MB / 1.125 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.9021, allocations: 110.5 kB / 1.125 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.9024, allocations: 132 kB / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.9051, allocations: 1.364 MB / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.9052, allocations: 0 / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.9053, allocations: 56 kB / 1.126 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.9053, allocations: 32 kB / 1.126 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.9079, allocations: 1.496 MB / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007749/0.9156, allocations: 5.144 MB / 1.133 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.9177, allocations: 1.116 MB / 1.134 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/0.9184, allocations: 439.7 kB / 1.134 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.088e-05/0.9185, allocations: 37.09 kB / 1.135 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.9196, allocations: 0.6567 MB / 1.135 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.9197, allocations: 0 / 1.135 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100): time 0.003955/0.9236, allocations: 1.66 MB / 1.137 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.892e-05/0.9237, allocations: 196.9 kB / 1.137 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004731/0.9285, allocations: 4.098 MB / 1.141 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.9287, allocations: 49.7 kB / 1.141 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/0.9293, allocations: 0.6569 MB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.9296, allocations: 327.4 kB / 1.142 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009415/0.9306, allocations: 0.9547 MB / 1.143 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.9307, allocations: 309.1 kB / 1.143 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005469/0.9362, allocations: 6.327 MB / 1.149 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005856/0.942, allocations: 6.581 MB / 1.156 GB, free: 13.35 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00717/0.9492, allocations: 7.462 MB / 1.163 GB, free: 5.836 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.9493, allocations: 8 kB / 1.163 GB, free: 5.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01484/0.9641, allocations: 14.16 MB / 1.177 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.9642, allocations: 4 kB / 1.177 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.9642, allocations: 7.938 kB / 1.177 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/0.9648, allocations: 80.84 kB / 1.177 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.966, allocations: 247.7 kB / 1.177 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.968, allocations: 1.52 MB / 1.179 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.9692, allocations: 156.4 kB / 1.179 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.9694, allocations: 59.95 kB / 1.179 GB, free: 5.402 MB / 0.9356 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.0009818/0.9704, allocations: 0.6168 MB / 1.18 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/0.9708, allocations: 142.2 kB / 1.18 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/0.9741, allocations: 1.474 MB / 1.181 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.9741, allocations: 8 kB / 1.181 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9741, allocations: 4 kB / 1.181 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.9742, allocations: 7.969 kB / 1.181 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.9761, allocations: 1.302 MB / 1.182 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.9761, allocations: 4 kB / 1.182 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000759/0.9769, allocations: 175.8 kB / 1.183 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005408/0.9774, allocations: 92.7 kB / 1.183 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.381e-05/0.9775, allocations: 23.98 kB / 1.183 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.9793, allocations: 1.555 MB / 1.184 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9793, allocations: 0 / 1.184 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.9817, allocations: 1.282 MB / 1.185 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.9823, allocations: 355 kB / 1.186 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.9825, allocations: 28 kB / 1.186 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/0.9834, allocations: 63.92 kB / 1.186 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.9836, allocations: 88.81 kB / 1.186 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.9836, allocations: 47.97 kB / 1.186 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002419/0.9861, allocations: 2.638 MB / 1.189 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.482e-06/0.9861, allocations: 0 / 1.189 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002089/0.9882, allocations: 0.9985 MB / 1.19 GB, free: 10.25 MB / 0.9512 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.00259/0.9908, allocations: 0.9481 MB / 1.19 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008211/0.999, allocations: 8.38 MB / 1.199 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.999, allocations: 0 / 1.199 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/1, allocations: 0.6683 MB / 1.199 GB, free: 408 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.002, allocations: 310.5 kB / 1.2 GB, free: 108 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/1.013, allocations: 5.737 MB / 1.205 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/1.015, allocations: 1.722 MB / 1.207 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00149/1.016, allocations: 386.2 kB / 1.207 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/1.017, allocations: 155.3 kB / 1.207 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of SimCode: time 1.182e-06/1.017, allocations: 0 / 1.207 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of Templates: time 0.0532/1.07, allocations: 28.18 MB / 1.235 GB, free: 12.03 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches