Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001576/0.001576, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.001719/0.001719, allocations: 191 kB / 17.29 MB, free: 5.516 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 68.45 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009016/0.3247, allocations: 6.975 MB / 1.034 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7085/1.033, allocations: 155.4 MB / 1.185 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/1.035, allocations: 25.91 kB / 1.185 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005482/1.04, allocations: 1.811 MB / 1.187 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003192/1.044, allocations: 0.8857 MB / 1.188 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/1.047, allocations: 0.9927 MB / 1.189 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003641/1.05, allocations: 2.583 MB / 1.191 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/1.052, allocations: 0.9332 MB / 1.192 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/1.054, allocations: 0.8988 MB / 1.193 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/1.055, allocations: 0.9307 MB / 1.194 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003764/1.056, allocations: 191.4 kB / 1.194 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004592/1.06, allocations: 2.278 MB / 1.196 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/1.062, allocations: 1.15 MB / 1.198 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/1.063, allocations: 0.9468 MB / 1.199 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007179/1.07, allocations: 3.772 MB / 1.202 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.07, allocations: 0 / 1.202 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.034e-06/1.07, allocations: 0 / 1.202 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.402e-05/1.07, allocations: 0 / 1.202 GB, free: 6.828 MB / 0.9044 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.005067/1.075, allocations: 2.376 MB / 1.205 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.075, allocations: 14.58 kB / 1.205 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/1.077, allocations: 268.8 kB / 1.205 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004322/1.081, allocations: 2.938 MB / 1.208 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/1.081, allocations: 101.8 kB / 1.208 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/1.081, allocations: 138.1 kB / 1.208 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/1.084, allocations: 1.359 MB / 1.209 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/1.084, allocations: 0 / 1.209 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/1.084, allocations: 52 kB / 1.209 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/1.084, allocations: 36 kB / 1.209 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/1.087, allocations: 1.496 MB / 1.211 GB, free: 0.793 MB / 0.9044 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.008677/1.095, allocations: 5.558 MB / 1.216 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/1.097, allocations: 1.129 MB / 1.217 GB, free: 9.906 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007503/1.098, allocations: 443.7 kB / 1.218 GB, free: 9.473 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.803e-05/1.098, allocations: 41.08 kB / 1.218 GB, free: 9.434 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/1.099, allocations: 0.6528 MB / 1.218 GB, free: 8.762 MB / 0.92 GB Notification: Performance of pre-optimization done (n=100): time 5.38e-06/1.099, allocations: 7.938 kB / 1.218 GB, free: 8.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=100): time 0.004115/1.104, allocations: 1.649 MB / 1.22 GB, free: 7.078 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.104, allocations: 204.9 kB / 1.22 GB, free: 6.832 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004975/1.109, allocations: 4.098 MB / 1.224 GB, free: 2.727 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/1.109, allocations: 53.7 kB / 1.224 GB, free: 2.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/1.11, allocations: 0.653 MB / 1.225 GB, free: 2.008 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/1.11, allocations: 323.3 kB / 1.225 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009433/1.111, allocations: 0.9586 MB / 1.226 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.111, allocations: 301.1 kB / 1.226 GB, free: 432 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005828/1.117, allocations: 6.343 MB / 1.233 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00639/1.123, allocations: 6.579 MB / 1.239 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/1.131, allocations: 7.462 MB / 1.246 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.131, allocations: 4 kB / 1.246 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01452/1.145, allocations: 14.16 MB / 1.26 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/1.145, allocations: 8 kB / 1.26 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/1.145, allocations: 0 / 1.26 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000655/1.146, allocations: 84.83 kB / 1.26 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.147, allocations: 251.6 kB / 1.261 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/1.15, allocations: 1.63 MB / 1.262 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/1.151, allocations: 142.8 kB / 1.262 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/1.151, allocations: 59.95 kB / 1.262 GB, free: 11.43 MB / 0.9669 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.001008/1.152, allocations: 0.6169 MB / 1.263 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/1.153, allocations: 134.3 kB / 1.263 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/1.156, allocations: 1.493 MB / 1.264 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.156, allocations: 12 kB / 1.264 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.156, allocations: 0 / 1.264 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.156, allocations: 7.969 kB / 1.265 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/1.157, allocations: 1.3 MB / 1.266 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.157, allocations: 3.938 kB / 1.266 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/1.158, allocations: 179.7 kB / 1.266 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/1.159, allocations: 72.78 kB / 1.266 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.629e-05/1.159, allocations: 35.92 kB / 1.266 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.161, allocations: 1.658 MB / 1.268 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.161, allocations: 144 / 1.268 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.163, allocations: 1.274 MB / 1.269 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/1.164, allocations: 362.9 kB / 1.269 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/1.164, allocations: 27.97 kB / 1.269 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/1.165, allocations: 75.92 kB / 1.269 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.165, allocations: 88.88 kB / 1.269 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.049e-05/1.165, allocations: 47.97 kB / 1.269 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002487/1.168, allocations: 2.634 MB / 1.272 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.168, allocations: 0 / 1.272 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002606/1.17, allocations: 1.01 MB / 1.273 GB, free: 140 kB / 0.9669 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.002782/1.173, allocations: 0.9561 MB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008545/1.182, allocations: 8.392 MB / 1.282 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.182, allocations: 0 / 1.282 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.183, allocations: 0.6681 MB / 1.283 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.185, allocations: 368 kB / 1.283 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/1.192, allocations: 4.808 MB / 1.288 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/1.194, allocations: 1.72 MB / 1.29 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001419/1.195, allocations: 390.4 kB / 1.29 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/1.196, allocations: 151.4 kB / 1.29 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.196, allocations: 0 / 1.29 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of Templates: time 0.05631/1.252, allocations: 29.9 MB / 1.319 GB, free: 1.117 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches