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.001736/0.001736, allocations: 107.7 kB / 16.36 MB, free: 5.824 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.001843/0.001843, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.14 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.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 60.28 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2641, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007707/0.2718, allocations: 5.735 MB / 0.9567 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6603/0.9321, allocations: 155.2 MB / 1.108 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.9334, allocations: 25.81 kB / 1.108 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00533/0.9387, allocations: 1.779 MB / 1.11 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.9413, allocations: 0.7853 MB / 1.111 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.9439, allocations: 0.9902 MB / 1.112 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003238/0.9472, allocations: 2.369 MB / 1.114 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.9485, allocations: 0.9756 MB / 1.115 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.95, allocations: 0.8723 MB / 1.116 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.9513, allocations: 0.8892 MB / 1.117 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.9516, allocations: 185 kB / 1.117 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004725/0.9564, allocations: 2.274 MB / 1.119 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.9575, allocations: 1.161 MB / 1.12 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.959, allocations: 0.9026 MB / 1.121 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009743/0.9687, allocations: 3.709 MB / 1.125 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.9688, allocations: 0 / 1.125 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9688, allocations: 0 / 1.125 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.781e-05/0.9689, allocations: 3.734 kB / 1.125 GB, free: 2.809 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.005312/0.9742, allocations: 2.347 MB / 1.127 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.9742, allocations: 9.5 kB / 1.127 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.9754, allocations: 265.7 kB / 1.127 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.9794, allocations: 2.933 MB / 1.13 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.9795, allocations: 102.2 kB / 1.13 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.9797, allocations: 133.5 kB / 1.13 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.982, allocations: 1.358 MB / 1.132 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.9821, allocations: 0 / 1.132 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.9822, allocations: 55.81 kB / 1.132 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.9822, allocations: 31.88 kB / 1.132 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.9847, allocations: 1.498 MB / 1.133 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008857/0.9936, allocations: 5.092 MB / 1.138 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.9959, allocations: 1.122 MB / 1.139 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007235/0.9966, allocations: 441.6 kB / 1.14 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.9967, allocations: 42.33 kB / 1.14 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.9978, allocations: 0.6531 MB / 1.141 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=100): time 2.716e-06/0.9979, allocations: 0 / 1.141 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100): time 0.004186/1.002, allocations: 1.661 MB / 1.142 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.002, allocations: 197.2 kB / 1.142 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00544/1.008, allocations: 4.099 MB / 1.146 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003778/1.008, allocations: 57.14 kB / 1.146 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/1.009, allocations: 0.653 MB / 1.147 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003925/1.009, allocations: 328.3 kB / 1.147 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009116/1.01, allocations: 0.952 MB / 1.148 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/1.01, allocations: 301.1 kB / 1.149 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005327/1.015, allocations: 6.337 MB / 1.155 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006115/1.022, allocations: 6.577 MB / 1.161 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009141/1.031, allocations: 7.472 MB / 1.168 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/1.031, allocations: 0 / 1.168 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.0156/1.046, allocations: 14.17 MB / 1.182 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/1.047, allocations: 4 kB / 1.182 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.047, allocations: 0 / 1.182 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/1.047, allocations: 88.83 kB / 1.182 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.049, allocations: 248.8 kB / 1.183 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.051, allocations: 1.637 MB / 1.184 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.053, allocations: 137.1 kB / 1.184 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/1.053, allocations: 55.97 kB / 1.184 GB, free: 8.66 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.001304/1.054, allocations: 0.6189 MB / 1.185 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/1.055, allocations: 138.2 kB / 1.185 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/1.058, allocations: 1.476 MB / 1.187 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.058, allocations: 12 kB / 1.187 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.058, allocations: 0 / 1.187 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/1.058, allocations: 15.91 kB / 1.187 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/1.06, allocations: 1.307 MB / 1.188 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.06, allocations: 3.938 kB / 1.188 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007707/1.061, allocations: 183.7 kB / 1.188 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/1.061, allocations: 76.78 kB / 1.188 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.002e-05/1.061, allocations: 31.97 kB / 1.188 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.063, allocations: 1.654 MB / 1.19 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.063, allocations: 8 kB / 1.19 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/1.066, allocations: 1.273 MB / 1.191 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008411/1.067, allocations: 362.9 kB / 1.191 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/1.067, allocations: 24 kB / 1.191 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/1.068, allocations: 71.86 kB / 1.191 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/1.068, allocations: 92.81 kB / 1.192 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.784e-05/1.068, allocations: 47.97 kB / 1.192 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002675/1.071, allocations: 2.636 MB / 1.194 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.071, allocations: 0 / 1.194 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00371/1.075, allocations: 0.9947 MB / 1.195 GB, free: 13.41 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.003231/1.078, allocations: 0.9416 MB / 1.196 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008987/1.087, allocations: 8.382 MB / 1.204 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.087, allocations: 4.062 kB / 1.204 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.089, allocations: 0.6719 MB / 1.205 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/1.09, allocations: 339.8 kB / 1.205 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/1.099, allocations: 4.904 MB / 1.21 GB, free: 14.36 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/1.1, allocations: 1.723 MB / 1.212 GB, free: 12.61 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001529/1.102, allocations: 394.2 kB / 1.212 GB, free: 12.21 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/1.102, allocations: 143.4 kB / 1.212 GB, free: 12.07 MB / 0.92 GB Notification: Performance of SimCode: time 1.342e-06/1.102, allocations: 4 kB / 1.212 GB, free: 12.07 MB / 0.92 GB Notification: Performance of Templates: time 0.05668/1.159, allocations: 29.08 MB / 1.241 GB, free: 15.19 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 cvode -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