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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00157/0.00157, allocations: 104.1 kB / 16.35 MB, free: 5.879 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.00183/0.00183, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 58.53 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2632, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008092/0.2713, allocations: 6.995 MB / 1.026 GB, free: 2.816 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6433/0.9146, allocations: 155.3 MB / 1.177 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.9158, allocations: 25.53 kB / 1.177 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00509/0.921, allocations: 1.808 MB / 1.179 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.9238, allocations: 0.8982 MB / 1.18 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.9264, allocations: 0.9891 MB / 1.181 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003165/0.9295, allocations: 2.569 MB / 1.183 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.9311, allocations: 0.9414 MB / 1.184 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.9327, allocations: 0.9037 MB / 1.185 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.9343, allocations: 0.9218 MB / 1.186 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000495/0.9348, allocations: 189 kB / 1.186 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.9388, allocations: 2.275 MB / 1.189 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.9401, allocations: 1.148 MB / 1.19 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.942, allocations: 0.9572 MB / 1.191 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006519/0.9486, allocations: 3.773 MB / 1.194 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9486, allocations: 0 / 1.194 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.467e-06/0.9486, allocations: 3.984 kB / 1.194 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.27e-05/0.9487, allocations: 0 / 1.194 GB, free: 0.793 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.005733/0.9545, allocations: 2.373 MB / 1.197 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.9545, allocations: 14.72 kB / 1.197 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.9558, allocations: 269.8 kB / 1.197 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/0.9593, allocations: 2.946 MB / 1.2 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.9594, allocations: 101.9 kB / 1.2 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.9595, allocations: 131.8 kB / 1.2 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.9617, allocations: 1.356 MB / 1.201 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.9617, allocations: 2.094 kB / 1.201 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.9618, allocations: 56.94 kB / 1.201 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.9618, allocations: 34.52 kB / 1.201 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.964, allocations: 1.491 MB / 1.203 GB, free: 11.75 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.007178/0.9712, allocations: 5.567 MB / 1.208 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.9732, allocations: 1.126 MB / 1.209 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.9739, allocations: 439.7 kB / 1.21 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.974, allocations: 41.08 kB / 1.21 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.975, allocations: 0.6567 MB / 1.211 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=100): time 2.324e-06/0.9751, allocations: 3.938 kB / 1.211 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100): time 0.003948/0.979, allocations: 1.652 MB / 1.212 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.9791, allocations: 192.9 kB / 1.212 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/0.9839, allocations: 4.109 MB / 1.216 GB, free: 14.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.9841, allocations: 45.7 kB / 1.216 GB, free: 14.11 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005866/0.9847, allocations: 0.6608 MB / 1.217 GB, free: 13.45 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.9851, allocations: 327.4 kB / 1.217 GB, free: 13.12 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009333/0.986, allocations: 0.9547 MB / 1.218 GB, free: 12.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.9861, allocations: 301.1 kB / 1.219 GB, free: 11.86 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005607/0.9917, allocations: 6.332 MB / 1.225 GB, free: 5.527 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005831/0.9976, allocations: 6.585 MB / 1.231 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007069/1.005, allocations: 7.462 MB / 1.238 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.005, allocations: 1.125 kB / 1.238 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01399/1.019, allocations: 14.16 MB / 1.252 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.019, allocations: 4 kB / 1.252 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.019, allocations: 0 / 1.252 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/1.019, allocations: 88.83 kB / 1.252 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.021, allocations: 255.6 kB / 1.253 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/1.023, allocations: 1.633 MB / 1.254 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.024, allocations: 134.8 kB / 1.254 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/1.024, allocations: 59.97 kB / 1.254 GB, free: 6.867 MB / 0.9512 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.0009789/1.025, allocations: 0.6215 MB / 1.255 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/1.026, allocations: 142.2 kB / 1.255 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/1.029, allocations: 1.474 MB / 1.257 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.029, allocations: 12 kB / 1.257 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.029, allocations: 0 / 1.257 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/1.029, allocations: 3.984 kB / 1.257 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/1.031, allocations: 1.304 MB / 1.258 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.031, allocations: 7.922 kB / 1.258 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/1.032, allocations: 187.7 kB / 1.258 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004799/1.032, allocations: 72.8 kB / 1.258 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/1.032, allocations: 35.91 kB / 1.258 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.034, allocations: 1.658 MB / 1.26 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.034, allocations: 64 / 1.26 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/1.037, allocations: 1.282 MB / 1.261 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007051/1.037, allocations: 358.9 kB / 1.261 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/1.038, allocations: 27.98 kB / 1.261 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/1.039, allocations: 66.28 kB / 1.261 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/1.039, allocations: 84.88 kB / 1.262 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/1.039, allocations: 51.97 kB / 1.262 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002448/1.041, allocations: 2.634 MB / 1.264 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.041, allocations: 0 / 1.264 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002217/1.044, allocations: 1.018 MB / 1.265 GB, free: 11.57 MB / 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.002564/1.046, allocations: 0.9615 MB / 1.266 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007916/1.054, allocations: 8.384 MB / 1.274 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.054, allocations: 4.25 kB / 1.274 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.055, allocations: 0.6642 MB / 1.275 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.057, allocations: 365.8 kB / 1.275 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/1.064, allocations: 4.815 MB / 1.28 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.066, allocations: 1.715 MB / 1.282 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001159/1.067, allocations: 390.4 kB / 1.282 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/1.067, allocations: 151.4 kB / 1.282 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/1.067, allocations: 0 / 1.282 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.05295/1.12, allocations: 29.89 MB / 1.311 GB, free: 12.54 MB / 1.014 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=480 -s gbode -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/jenkins1/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