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.001436/0.001436, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.391/2.391, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6459/0.6472, allocations: 140.4 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006916/0.6542, allocations: 5.741 MB / 0.9552 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1771/0.8313, allocations: 155.2 MB / 1.107 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.8329, allocations: 27.88 kB / 1.107 GB, free: 296 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004685/0.8376, allocations: 1.762 MB / 1.109 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.8406, allocations: 0.7922 MB / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.8433, allocations: 0.9673 MB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003472/0.8468, allocations: 2.361 MB / 1.113 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.8483, allocations: 0.9875 MB / 1.114 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.8497, allocations: 0.8566 MB / 1.114 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.8512, allocations: 0.9062 MB / 1.115 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003279/0.8515, allocations: 184 kB / 1.115 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.8555, allocations: 2.231 MB / 1.118 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009712/0.8565, allocations: 1.154 MB / 1.119 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.8576, allocations: 0.917 MB / 1.12 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006371/0.8639, allocations: 3.635 MB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.864, allocations: 0 / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.224e-06/0.864, allocations: 3.938 kB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.749e-05/0.8641, allocations: 0 / 1.123 GB, free: 15.46 MB / 0.8887 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.004666/0.8687, allocations: 2.348 MB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8688, allocations: 8.031 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.8699, allocations: 270.3 kB / 1.126 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.8732, allocations: 2.905 MB / 1.129 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.889e-05/0.8733, allocations: 102.5 kB / 1.129 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.8735, allocations: 128 kB / 1.129 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.8757, allocations: 1.364 MB / 1.13 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.8757, allocations: 0 / 1.13 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.8759, allocations: 52 kB / 1.13 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.8759, allocations: 32 kB / 1.13 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.8782, allocations: 1.5 MB / 1.132 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007539/0.8858, allocations: 5.144 MB / 1.137 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.8879, allocations: 1.119 MB / 1.138 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.8886, allocations: 448.8 kB / 1.138 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.952e-05/0.8887, allocations: 37.09 kB / 1.138 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.8898, allocations: 0.6489 MB / 1.139 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=100): time 2.956e-06/0.8899, allocations: 0 / 1.139 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100): time 0.004038/0.8939, allocations: 1.656 MB / 1.14 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.894, allocations: 192.9 kB / 1.141 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/0.8989, allocations: 4.106 MB / 1.145 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.8992, allocations: 49.7 kB / 1.145 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.8998, allocations: 0.6646 MB / 1.145 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.9002, allocations: 323.4 kB / 1.146 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00084/0.901, allocations: 0.9508 MB / 1.147 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9011, allocations: 309.1 kB / 1.147 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005749/0.9069, allocations: 6.331 MB / 1.153 GB, free: 420 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006279/0.9132, allocations: 6.573 MB / 1.16 GB, free: 9.812 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007563/0.9208, allocations: 7.474 MB / 1.167 GB, free: 2.293 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.9209, allocations: 4 kB / 1.167 GB, free: 2.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01569/0.9365, allocations: 14.16 MB / 1.181 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.9366, allocations: 4 kB / 1.181 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.9366, allocations: 4 kB / 1.181 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.9373, allocations: 84.83 kB / 1.181 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.9386, allocations: 247.6 kB / 1.181 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.941, allocations: 1.63 MB / 1.183 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.9424, allocations: 148.7 kB / 1.183 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.9426, allocations: 59.95 kB / 1.183 GB, free: 1.75 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.001062/0.9437, allocations: 0.6169 MB / 1.183 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/0.9441, allocations: 134.2 kB / 1.184 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/0.9475, allocations: 1.482 MB / 1.185 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.9476, allocations: 12 kB / 1.185 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9476, allocations: 0 / 1.185 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.9476, allocations: 3.984 kB / 1.185 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.9496, allocations: 1.31 MB / 1.186 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.9496, allocations: 4 kB / 1.186 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007801/0.9504, allocations: 187.7 kB / 1.186 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004893/0.9509, allocations: 68.78 kB / 1.186 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.951, allocations: 35.97 kB / 1.187 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.953, allocations: 1.654 MB / 1.188 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9531, allocations: 8 kB / 1.188 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.9558, allocations: 1.266 MB / 1.189 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006511/0.9565, allocations: 362.9 kB / 1.19 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.9567, allocations: 27.98 kB / 1.19 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008532/0.9576, allocations: 63.94 kB / 1.19 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.9578, allocations: 92.88 kB / 1.19 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/0.9579, allocations: 43.97 kB / 1.19 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002625/0.9605, allocations: 2.642 MB / 1.193 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.633e-06/0.9606, allocations: 0 / 1.193 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003081/0.9636, allocations: 0.9985 MB / 1.194 GB, free: 6.48 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.002897/0.9666, allocations: 0.9398 MB / 1.194 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009855/0.9764, allocations: 8.681 MB / 1.203 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.9765, allocations: 8.25 kB / 1.203 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.9778, allocations: 0.668 MB / 1.204 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.9796, allocations: 343 kB / 1.204 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008531/0.9882, allocations: 4.953 MB / 1.209 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.9899, allocations: 1.718 MB / 1.21 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001446/0.9914, allocations: 394.2 kB / 1.211 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.9919, allocations: 147.4 kB / 1.211 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of SimCode: time 8.01e-07/0.9919, allocations: 0 / 1.211 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of Templates: time 0.05614/1.048, allocations: 29 MB / 1.239 GB, free: 7.91 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