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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001562/0.001562, allocations: 107 kB / 16.36 MB, free: 6.336 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.001786/0.001786, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 61.7 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.24, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007814/0.2479, allocations: 5.745 MB / 0.9567 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6151/0.863, allocations: 155.2 MB / 1.108 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.8642, allocations: 30.53 kB / 1.108 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005133/0.8693, allocations: 1.772 MB / 1.11 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.872, allocations: 0.7883 MB / 1.111 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.8746, allocations: 0.9786 MB / 1.112 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003058/0.8777, allocations: 2.369 MB / 1.114 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.879, allocations: 0.9771 MB / 1.115 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.8803, allocations: 0.8734 MB / 1.116 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.8816, allocations: 0.8903 MB / 1.117 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.8818, allocations: 184.7 kB / 1.117 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.8862, allocations: 2.277 MB / 1.119 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.8872, allocations: 1.154 MB / 1.12 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.8883, allocations: 0.9077 MB / 1.121 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006355/0.8946, allocations: 3.704 MB / 1.125 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8947, allocations: 3.188 kB / 1.125 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8947, allocations: 0 / 1.125 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.693e-05/0.8947, allocations: 0 / 1.125 GB, free: 2.371 MB / 0.8575 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.004529/0.8993, allocations: 2.348 MB / 1.127 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.8993, allocations: 9.031 kB / 1.127 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.9004, allocations: 271 kB / 1.127 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/0.9038, allocations: 2.93 MB / 1.13 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.9038, allocations: 99.45 kB / 1.13 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.904, allocations: 135.2 kB / 1.13 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.9062, allocations: 1.36 MB / 1.132 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.9062, allocations: 0 / 1.132 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.9063, allocations: 54.8 kB / 1.132 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.9063, allocations: 35.5 kB / 1.132 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.9086, allocations: 1.496 MB / 1.133 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006882/0.9155, allocations: 5.095 MB / 1.138 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.9174, allocations: 1.115 MB / 1.139 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006832/0.9181, allocations: 445.1 kB / 1.14 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-05/0.9182, allocations: 47.28 kB / 1.14 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009985/0.9192, allocations: 0.6483 MB / 1.141 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=100): time 2.515e-06/0.9192, allocations: 0 / 1.141 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100): time 0.003995/0.9232, allocations: 1.659 MB / 1.142 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.9234, allocations: 194.5 kB / 1.142 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/0.9281, allocations: 4.105 MB / 1.146 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.9284, allocations: 51.58 kB / 1.146 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.9289, allocations: 0.6611 MB / 1.147 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.9292, allocations: 327 kB / 1.147 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008932/0.9301, allocations: 0.9533 MB / 1.148 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.9302, allocations: 302.7 kB / 1.149 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005361/0.9356, allocations: 6.33 MB / 1.155 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005799/0.9414, allocations: 6.581 MB / 1.161 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006896/0.9483, allocations: 7.475 MB / 1.168 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.9483, allocations: 0 / 1.168 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01409/0.9624, allocations: 14.16 MB / 1.182 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.9625, allocations: 8 kB / 1.182 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.9625, allocations: 0 / 1.182 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.9631, allocations: 80.84 kB / 1.182 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.9643, allocations: 247.7 kB / 1.183 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.9667, allocations: 1.633 MB / 1.184 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.9685, allocations: 136.9 kB / 1.184 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.9687, allocations: 62.05 kB / 1.184 GB, free: 8.492 MB / 0.8887 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.001263/0.97, allocations: 0.6313 MB / 1.185 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.9703, allocations: 138.2 kB / 1.185 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.9734, allocations: 1.468 MB / 1.187 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.9734, allocations: 15.98 kB / 1.187 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.9734, allocations: 4 kB / 1.187 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.9734, allocations: 3.984 kB / 1.187 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.9751, allocations: 1.309 MB / 1.188 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.9751, allocations: 3.938 kB / 1.188 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/0.9759, allocations: 179.8 kB / 1.188 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.9763, allocations: 76.72 kB / 1.188 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.9764, allocations: 31.97 kB / 1.188 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.9784, allocations: 1.662 MB / 1.19 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9784, allocations: 0 / 1.19 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.9815, allocations: 1.278 MB / 1.191 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009015/0.9824, allocations: 358.9 kB / 1.191 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.9827, allocations: 24 kB / 1.191 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/0.9835, allocations: 70.27 kB / 1.191 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.9837, allocations: 92.88 kB / 1.192 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.9838, allocations: 47.97 kB / 1.192 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002594/0.9864, allocations: 2.634 MB / 1.194 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9864, allocations: 3.938 kB / 1.194 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003084/0.9895, allocations: 0.9928 MB / 1.195 GB, free: 13.25 MB / 0.9044 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.002611/0.9921, allocations: 0.9469 MB / 1.196 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00831/1, allocations: 8.383 MB / 1.204 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1, allocations: 4 kB / 1.204 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/1.002, allocations: 0.6719 MB / 1.205 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.003, allocations: 339 kB / 1.205 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007817/1.011, allocations: 4.908 MB / 1.21 GB, free: 14.19 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.013, allocations: 1.726 MB / 1.212 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00145/1.014, allocations: 390.2 kB / 1.212 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004083/1.014, allocations: 151.4 kB / 1.212 GB, free: 11.9 MB / 0.92 GB Notification: Performance of SimCode: time 6.21e-07/1.014, allocations: 0 / 1.212 GB, free: 11.9 MB / 0.92 GB Notification: Performance of Templates: time 0.05462/1.069, allocations: 29.06 MB / 1.241 GB, free: 15.03 MB / 0.9512 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 -s gbode -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/jenkins1/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