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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 184 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.000876, allocations: 83.97 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.624e-05, allocations: 11.92 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2808, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.976/5.257, allocations: 1.754 GB / 2.967 GB, free: 110 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/5.258, allocations: 92.75 kB / 2.967 GB, free: 109.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.169/6.427, allocations: 128.2 MB / 3.092 GB, free: 357.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.577e-06/6.427, allocations: 0 / 3.092 GB, free: 357.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004279/6.427, allocations: 46.73 kB / 3.092 GB, free: 357.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01429/6.441, allocations: 2.25 MB / 3.094 GB, free: 356.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/6.441, allocations: 10.19 kB / 3.094 GB, free: 356.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008112/6.45, allocations: 345.9 kB / 3.095 GB, free: 356.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1244/6.574, allocations: 93.93 MB / 3.186 GB, free: 318.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/6.574, allocations: 98.83 kB / 3.187 GB, free: 318.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/6.574, allocations: 116 kB / 3.187 GB, free: 318.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/6.576, allocations: 1.17 MB / 3.188 GB, free: 317.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/6.576, allocations: 0 / 3.188 GB, free: 317.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/6.576, allocations: 50.03 kB / 3.188 GB, free: 317.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/6.576, allocations: 28 kB / 3.188 GB, free: 317.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/6.578, allocations: 1.354 MB / 3.189 GB, free: 316.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1431/6.721, allocations: 79.22 MB / 3.267 GB, free: 252.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/6.723, allocations: 0.9857 MB / 3.268 GB, free: 251.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/6.724, allocations: 379.7 kB / 3.268 GB, free: 251 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/6.724, allocations: 36.33 kB / 3.268 GB, free: 251 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007272/6.724, allocations: 0.5352 MB / 3.268 GB, free: 250.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=88): time 3.476e-06/6.724, allocations: 2.25 kB / 3.268 GB, free: 250.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=88): time 0.009316/6.734, allocations: 1.055 MB / 3.269 GB, free: 249.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/6.734, allocations: 240.1 kB / 3.27 GB, free: 249.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1877/6.922, allocations: 103.3 MB / 3.371 GB, free: 145.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/6.922, allocations: 41.7 kB / 3.371 GB, free: 145.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/6.923, allocations: 0.9829 MB / 3.372 GB, free: 144.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/6.924, allocations: 289.3 kB / 3.372 GB, free: 144.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/6.924, allocations: 23.94 kB / 3.372 GB, free: 144.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001058/6.924, allocations: 345.9 kB / 3.372 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007616/6.925, allocations: 428.5 kB / 3.373 GB, free: 143.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008125/6.926, allocations: 0.5658 MB / 3.373 GB, free: 143.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/6.926, allocations: 497.1 kB / 3.374 GB, free: 142.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/6.926, allocations: 0 / 3.374 GB, free: 142.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.008702/6.935, allocations: 1.35 MB / 3.375 GB, free: 141.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/6.935, allocations: 8 kB / 3.375 GB, free: 141.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/6.935, allocations: 0 / 3.375 GB, free: 141.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/6.936, allocations: 88.72 kB / 3.375 GB, free: 141.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/6.937, allocations: 219.7 kB / 3.375 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/6.939, allocations: 1.512 MB / 3.377 GB, free: 139.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00719/6.946, allocations: 250 kB / 3.377 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/6.946, allocations: 39.98 kB / 3.377 GB, free: 139.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * 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.0003937/6.947, allocations: 162.6 kB / 3.377 GB, free: 138.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006741/6.953, allocations: 215.9 kB / 3.377 GB, free: 138.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/6.957, allocations: 1.456 MB / 3.379 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/6.957, allocations: 8 kB / 3.379 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/6.957, allocations: 0 / 3.379 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/6.957, allocations: 3.984 kB / 3.379 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0529/7.01, allocations: 37.24 MB / 3.415 GB, free: 99.94 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/7.01, allocations: 4 kB / 3.415 GB, free: 99.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000743/7.011, allocations: 183.8 kB / 3.415 GB, free: 99.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/7.011, allocations: 82.05 kB / 3.415 GB, free: 99.69 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.04e-05/7.011, allocations: 27.73 kB / 3.415 GB, free: 99.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/7.013, allocations: 1.537 MB / 3.417 GB, free: 98 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/7.013, allocations: 7.359 kB / 3.417 GB, free: 98 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008366/7.021, allocations: 1.248 MB / 3.418 GB, free: 96.74 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0344/7.056, allocations: 20.49 MB / 3.438 GB, free: 76.22 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008159/7.064, allocations: 24 kB / 3.438 GB, free: 76.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007301/7.071, allocations: 193.5 kB / 3.438 GB, free: 76.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/7.072, allocations: 68.89 kB / 3.438 GB, free: 75.95 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/7.072, allocations: 43.2 kB / 3.438 GB, free: 75.91 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.775/7.847, allocations: 76.17 MB / 3.513 GB, free: 348.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.81e-07/7.847, allocations: 0.6562 kB / 3.513 GB, free: 348.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01705/7.864, allocations: 6.065 MB / 3.519 GB, free: 348.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.005441/7.87, allocations: 1.723 MB / 3.52 GB, free: 348.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002716/7.872, allocations: 1.089 MB / 3.522 GB, free: 348.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/7.872, allocations: 0 / 3.522 GB, free: 348.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/7.873, allocations: 0.5867 MB / 3.522 GB, free: 348 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007766/7.881, allocations: 348.5 kB / 3.522 GB, free: 348 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/7.892, allocations: 3.587 MB / 3.526 GB, free: 347.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/7.894, allocations: 1.719 MB / 3.528 GB, free: 346.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.02013/7.915, allocations: 11.1 MB / 3.538 GB, free: 346.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01939/7.934, allocations: 3.348 MB / 3.542 GB, free: 346.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.664e-06/7.934, allocations: 2.594 kB / 3.542 GB, free: 346.4 MB / 1.151 GB Notification: Performance of Templates: time 1.454/9.388, allocations: 0.5 GB / 4.042 GB, free: 179.9 MB / 1.167 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 -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","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches