Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.00138/0.00138, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003599, allocations: 16 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6021, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008864/0.611, allocations: 5.916 MB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.7633, allocations: 132.4 MB / 1.156 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.7648, allocations: 27.81 kB / 1.156 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004779/0.7696, allocations: 1.441 MB / 1.157 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.7729, allocations: 1.032 MB / 1.158 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.7761, allocations: 1.034 MB / 1.159 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004106/0.7802, allocations: 2.718 MB / 1.162 GB, free: 188 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.7818, allocations: 0.9215 MB / 1.163 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.7842, allocations: 1.292 MB / 1.164 GB, free: 13.94 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.7862, allocations: 1.07 MB / 1.165 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005384/0.7868, allocations: 68 kB / 1.165 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.7913, allocations: 1.787 MB / 1.167 GB, free: 11.01 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002904/0.7942, allocations: 2.865 MB / 1.17 GB, free: 8.137 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.7958, allocations: 0.7841 MB / 1.171 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.8069, allocations: 8.981 MB / 1.179 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8069, allocations: 0 / 1.179 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.795e-06/0.807, allocations: 0 / 1.179 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003048/0.8073, allocations: 0 / 1.179 GB, free: 14.34 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01947/0.8267, allocations: 6.748 MB / 1.186 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.8268, allocations: 15.98 kB / 1.186 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/0.831, allocations: 0.6025 MB / 1.187 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.747/1.578, allocations: 255.6 MB / 1.436 GB, free: 59.24 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.578, allocations: 142.9 kB / 1.436 GB, free: 59.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003995/1.579, allocations: 184 kB / 1.436 GB, free: 58.92 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/1.582, allocations: 1.781 MB / 1.438 GB, free: 57.06 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.582, allocations: 7.109 kB / 1.438 GB, free: 57.06 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/1.582, allocations: 60 kB / 1.438 GB, free: 57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/1.582, allocations: 36 kB / 1.438 GB, free: 56.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/1.584, allocations: 1.814 MB / 1.44 GB, free: 55.14 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04784/1.632, allocations: 70 MB / 1.508 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/1.635, allocations: 1.576 MB / 1.51 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/1.635, allocations: 38.2 kB / 1.51 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001648/1.637, allocations: 1.029 MB / 1.511 GB, free: 14.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=117): time 3.016e-06/1.637, allocations: 0 / 1.511 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=117): time 0.007808/1.645, allocations: 3.289 MB / 1.514 GB, free: 11.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002243/1.645, allocations: 342.5 kB / 1.514 GB, free: 10.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9017/2.547, allocations: 316.1 MB / 1.823 GB, free: 350.8 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0008022/2.548, allocations: 61.7 kB / 1.823 GB, free: 350.7 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003032/2.551, allocations: 2.224 MB / 1.825 GB, free: 348.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005208/2.551, allocations: 389.7 kB / 1.826 GB, free: 348.4 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/2.551, allocations: 36 kB / 1.826 GB, free: 348.3 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001133/2.552, allocations: 397.7 kB / 1.826 GB, free: 348 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/2.553, allocations: 1.35 MB / 1.827 GB, free: 346.6 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/2.555, allocations: 1.657 MB / 1.829 GB, free: 344.9 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/2.557, allocations: 1.666 MB / 1.831 GB, free: 343.2 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/2.557, allocations: 0 / 1.831 GB, free: 343.2 MB / 1.217 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007203/2.564, allocations: 3.937 MB / 1.835 GB, free: 339.3 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/2.564, allocations: 169.6 kB / 1.835 GB, free: 339.1 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/2.564, allocations: 4 kB / 1.835 GB, free: 339.1 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/2.565, allocations: 99.89 kB / 1.835 GB, free: 339 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/2.566, allocations: 393.8 kB / 1.835 GB, free: 338.6 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/2.568, allocations: 1.542 MB / 1.837 GB, free: 337 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/2.573, allocations: 0.6443 MB / 1.837 GB, free: 336.3 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/2.573, allocations: 87.97 kB / 1.837 GB, free: 336.2 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003524/2.577, allocations: 2.167 MB / 1.84 GB, free: 334 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002322/2.579, allocations: 457.9 kB / 1.84 GB, free: 333.6 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/2.584, allocations: 3.039 MB / 1.843 GB, free: 330.5 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/2.584, allocations: 12 kB / 1.843 GB, free: 330.5 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.584, allocations: 4 kB / 1.843 GB, free: 330.5 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/2.584, allocations: 7.703 kB / 1.843 GB, free: 330.5 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008158/2.593, allocations: 4.096 MB / 1.847 GB, free: 326.4 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/2.593, allocations: 0 / 1.847 GB, free: 326.4 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008221/2.593, allocations: 187.7 kB / 1.847 GB, free: 326.2 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/2.594, allocations: 85.58 kB / 1.847 GB, free: 326.1 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/2.594, allocations: 43.97 kB / 1.847 GB, free: 326.1 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/2.596, allocations: 1.552 MB / 1.849 GB, free: 324.4 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/2.596, allocations: 0 / 1.849 GB, free: 324.4 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005897/2.602, allocations: 2.693 MB / 1.851 GB, free: 321.7 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00453/2.606, allocations: 1.794 MB / 1.853 GB, free: 319.9 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001863/2.608, allocations: 31.95 kB / 1.853 GB, free: 319.8 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/2.611, allocations: 431.9 kB / 1.854 GB, free: 319.4 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/2.611, allocations: 101.8 kB / 1.854 GB, free: 319.3 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/2.611, allocations: 59.36 kB / 1.854 GB, free: 319.3 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.1726/2.784, allocations: 251.6 MB / 2.099 GB, free: 67.62 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.81e-07/2.784, allocations: 4 kB / 2.099 GB, free: 67.61 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004536/2.789, allocations: 1.374 MB / 2.101 GB, free: 66.31 MB / 1.217 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00223/2.791, allocations: 0.9448 MB / 2.102 GB, free: 65.63 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004392/2.795, allocations: 3.981 MB / 2.106 GB, free: 61.64 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/2.795, allocations: 0.5469 kB / 2.106 GB, free: 61.64 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/2.797, allocations: 1.736 MB / 2.107 GB, free: 59.88 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/2.8, allocations: 0.538 MB / 2.108 GB, free: 59.35 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/2.816, allocations: 11.18 MB / 2.119 GB, free: 48.13 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/2.819, allocations: 3.098 MB / 2.122 GB, free: 45 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.003855/2.822, allocations: 1.693 MB / 2.123 GB, free: 43.3 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/2.825, allocations: 0.6748 MB / 2.124 GB, free: 42.63 MB / 1.217 GB Notification: Performance of SimCode: time 7.11e-07/2.825, allocations: 0 / 2.124 GB, free: 42.63 MB / 1.217 GB Notification: Performance of Templates: time 0.7055/3.53, allocations: 166.5 MB / 2.287 GB, free: 370.5 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches