Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001862/0.001862, 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.002072/0.002072, allocations: 191.4 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.488/1.488, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.748/2.748, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6974, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009924/0.7073, allocations: 6.986 MB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1922/0.8996, allocations: 155.4 MB / 1.176 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.9015, allocations: 27.81 kB / 1.176 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.9065, allocations: 1.801 MB / 1.178 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.9096, allocations: 0.8928 MB / 1.179 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.9121, allocations: 0.9902 MB / 1.179 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003201/0.9153, allocations: 2.567 MB / 1.182 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.9167, allocations: 0.9337 MB / 1.183 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.9181, allocations: 0.8917 MB / 1.184 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.9194, allocations: 0.9318 MB / 1.185 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.9197, allocations: 184 kB / 1.185 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/0.9236, allocations: 2.231 MB / 1.187 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.9247, allocations: 1.154 MB / 1.188 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.9257, allocations: 0.9483 MB / 1.189 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005651/0.9314, allocations: 3.716 MB / 1.193 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.9314, allocations: 3.984 kB / 1.193 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9314, allocations: 0 / 1.193 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.052e-05/0.9315, allocations: 0 / 1.193 GB, free: 14.17 MB / 0.9512 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.004807/0.9363, allocations: 2.375 MB / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.9364, allocations: 12.03 kB / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.9375, allocations: 270.3 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/0.941, allocations: 2.904 MB / 1.198 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.9411, allocations: 110.5 kB / 1.198 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.9413, allocations: 128 kB / 1.198 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.9436, allocations: 1.364 MB / 1.2 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.9437, allocations: 0 / 1.2 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.9438, allocations: 52 kB / 1.2 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.9438, allocations: 32 kB / 1.2 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.9464, allocations: 1.5 MB / 1.201 GB, free: 5.254 MB / 0.9512 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.008859/0.9552, allocations: 5.603 MB / 1.207 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.9574, allocations: 1.127 MB / 1.208 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/0.9582, allocations: 435.7 kB / 1.208 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.941e-05/0.9583, allocations: 45.09 kB / 1.208 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.9594, allocations: 0.6567 MB / 1.209 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=100): time 2.685e-06/0.9594, allocations: 3.938 kB / 1.209 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100): time 0.004149/0.9636, allocations: 1.649 MB / 1.211 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.9637, allocations: 200.9 kB / 1.211 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/0.9687, allocations: 4.102 MB / 1.215 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.9689, allocations: 57.64 kB / 1.215 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/0.9695, allocations: 0.653 MB / 1.215 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.9698, allocations: 331.3 kB / 1.216 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009262/0.9708, allocations: 0.9547 MB / 1.217 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9709, allocations: 301.1 kB / 1.217 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006251/0.9772, allocations: 6.335 MB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006574/0.9837, allocations: 6.585 MB / 1.23 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00777/0.9915, allocations: 7.462 MB / 1.237 GB, free: 388 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.9916, allocations: 0 / 1.237 GB, free: 388 kB / 0.9825 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01584/1.007, allocations: 14.16 MB / 1.251 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.007, allocations: 4 kB / 1.251 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.007, allocations: 0 / 1.251 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/1.008, allocations: 88.83 kB / 1.251 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.009, allocations: 247.7 kB / 1.251 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/1.011, allocations: 1.63 MB / 1.253 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.629/1.641, allocations: 139.3 kB / 1.253 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.641, allocations: 63.05 kB / 1.253 GB, free: 231.3 MB / 0.9981 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.001158/1.642, allocations: 0.6154 MB / 1.253 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/1.642, allocations: 137.3 kB / 1.254 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/1.646, allocations: 1.476 MB / 1.255 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.646, allocations: 12.39 kB / 1.255 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.646, allocations: 0 / 1.255 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.646, allocations: 11.38 kB / 1.255 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/1.648, allocations: 1.303 MB / 1.256 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.648, allocations: 1.359 kB / 1.256 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008076/1.649, allocations: 181.5 kB / 1.256 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004904/1.649, allocations: 72.38 kB / 1.257 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.887e-05/1.649, allocations: 36.83 kB / 1.257 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/1.651, allocations: 1.66 MB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.651, allocations: 3.938 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/1.654, allocations: 1.274 MB / 1.259 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/1.655, allocations: 360.7 kB / 1.26 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/1.655, allocations: 24.59 kB / 1.26 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/1.656, allocations: 67.84 kB / 1.26 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/1.656, allocations: 90.45 kB / 1.26 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-05/1.656, allocations: 46.48 kB / 1.26 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003559/1.659, allocations: 2.64 MB / 1.263 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.659, allocations: 0.5625 kB / 1.263 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003358/1.663, allocations: 1.01 MB / 1.264 GB, free: 227.5 MB / 0.9981 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.00298/1.666, allocations: 0.9575 MB / 1.264 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.676, allocations: 8.688 MB / 1.273 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.676, allocations: 0 / 1.273 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/1.677, allocations: 0.6694 MB / 1.274 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.679, allocations: 374.2 kB / 1.274 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006218/1.685, allocations: 4.853 MB / 1.279 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.686, allocations: 1.718 MB / 1.28 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001295/1.688, allocations: 390.9 kB / 1.281 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/1.688, allocations: 148.4 kB / 1.281 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.688, allocations: 0 / 1.281 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04569/1.734, allocations: 29.81 MB / 1.31 GB, free: 193 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches