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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.49/2.49, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001277/0.001277, allocations: 173 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0009634/0.0009634, allocations: 95.89 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.545e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3292, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.731/5.06, allocations: 1.755 GB / 2.974 GB, free: 79.73 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000449/5.061, allocations: 91.94 kB / 2.974 GB, free: 79.64 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.239/6.3, allocations: 128.2 MB / 3.099 GB, free: 381.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.867e-06/6.3, allocations: 1.312 kB / 3.099 GB, free: 381.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004269/6.3, allocations: 44 kB / 3.099 GB, free: 381.7 MB / 1.167 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.02342/6.324, allocations: 2.254 MB / 3.102 GB, free: 380.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 9.928e-05/6.324, allocations: 9.438 kB / 3.102 GB, free: 380.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/6.337, allocations: 343.6 kB / 3.102 GB, free: 380.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1458/6.483, allocations: 93.94 MB / 3.194 GB, free: 322.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.051e-05/6.483, allocations: 90.27 kB / 3.194 GB, free: 322.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/6.483, allocations: 120 kB / 3.194 GB, free: 322.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/6.485, allocations: 1.179 MB / 3.195 GB, free: 321.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/6.485, allocations: 0 / 3.195 GB, free: 321.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/6.485, allocations: 49.91 kB / 3.195 GB, free: 321.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/6.486, allocations: 35.59 kB / 3.195 GB, free: 321.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/6.487, allocations: 1.349 MB / 3.196 GB, free: 320.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1656/6.653, allocations: 79.22 MB / 3.274 GB, free: 242 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/6.655, allocations: 0.9871 MB / 3.275 GB, free: 241 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/6.655, allocations: 392.2 kB / 3.275 GB, free: 240.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/6.655, allocations: 42.41 kB / 3.275 GB, free: 240.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007239/6.656, allocations: 0.5247 MB / 3.276 GB, free: 240.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=88): time 5.18e-06/6.656, allocations: 0 / 3.276 GB, free: 240.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=88): time 0.01106/6.667, allocations: 1.055 MB / 3.277 GB, free: 239 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/6.667, allocations: 249.9 kB / 3.277 GB, free: 238.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1965/6.864, allocations: 103.3 MB / 3.378 GB, free: 135.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004663/6.864, allocations: 45.7 kB / 3.378 GB, free: 135.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/6.866, allocations: 0.9784 MB / 3.379 GB, free: 134.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/6.866, allocations: 298.1 kB / 3.379 GB, free: 134.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/6.866, allocations: 16 kB / 3.379 GB, free: 134.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001088/6.866, allocations: 345.9 kB / 3.379 GB, free: 133.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006747/6.867, allocations: 421.9 kB / 3.38 GB, free: 133.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006537/6.868, allocations: 0.5621 MB / 3.38 GB, free: 132.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006842/6.868, allocations: 0.4886 MB / 3.381 GB, free: 132.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/6.868, allocations: 3.938 kB / 3.381 GB, free: 132.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01159/6.88, allocations: 1.354 MB / 3.382 GB, free: 130.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/6.88, allocations: 4 kB / 3.382 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/6.88, allocations: 7.312 kB / 3.382 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/6.881, allocations: 84.48 kB / 3.382 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/6.882, allocations: 212 kB / 3.382 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/6.883, allocations: 1.519 MB / 3.384 GB, free: 129 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/6.894, allocations: 241 kB / 3.384 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005596/6.895, allocations: 47.97 kB / 3.384 GB, free: 128.7 MB / 1.167 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.000356/6.895, allocations: 159.2 kB / 3.384 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009078/6.904, allocations: 217.2 kB / 3.384 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/6.908, allocations: 1.457 MB / 3.386 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/6.908, allocations: 11.94 kB / 3.386 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/6.908, allocations: 4 kB / 3.386 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/6.908, allocations: 7.969 kB / 3.386 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05847/6.966, allocations: 37.24 MB / 3.422 GB, free: 89.56 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/6.966, allocations: 2.531 kB / 3.422 GB, free: 89.56 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/6.967, allocations: 177.4 kB / 3.422 GB, free: 89.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/6.968, allocations: 81.12 kB / 3.423 GB, free: 89.32 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/6.968, allocations: 27.98 kB / 3.423 GB, free: 89.29 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/6.969, allocations: 1.542 MB / 3.424 GB, free: 87.63 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/6.969, allocations: 0 / 3.424 GB, free: 87.63 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/6.98, allocations: 1.254 MB / 3.425 GB, free: 86.36 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.042/7.022, allocations: 20.5 MB / 3.445 GB, free: 65.84 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01008/7.033, allocations: 24 kB / 3.445 GB, free: 65.82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0094/7.042, allocations: 186.5 kB / 3.446 GB, free: 65.64 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004805/7.043, allocations: 75.7 kB / 3.446 GB, free: 65.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/7.043, allocations: 35.98 kB / 3.446 GB, free: 65.53 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.9312/7.974, allocations: 76.17 MB / 3.52 GB, free: 373.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.21e-07/7.974, allocations: 0.7812 kB / 3.52 GB, free: 373.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01782/7.992, allocations: 6.064 MB / 3.526 GB, free: 373.4 MB / 1.167 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.005785/7.998, allocations: 1.72 MB / 3.528 GB, free: 373.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002616/8, allocations: 1.086 MB / 3.529 GB, free: 373.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/8, allocations: 2.406 kB / 3.529 GB, free: 373.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/8.001, allocations: 0.588 MB / 3.529 GB, free: 373 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008914/8.01, allocations: 339.1 kB / 3.53 GB, free: 372.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009975/8.02, allocations: 3.589 MB / 3.533 GB, free: 372.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/8.022, allocations: 1.716 MB / 3.535 GB, free: 371.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01912/8.041, allocations: 11.11 MB / 3.546 GB, free: 371.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02194/8.063, allocations: 3.348 MB / 3.549 GB, free: 371.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.693e-06/8.063, allocations: 2.516 kB / 3.549 GB, free: 371.4 MB / 1.167 GB Notification: Performance of Templates: time 1.466/9.53, allocations: 0.5 GB / 4.049 GB, free: 195.1 MB / 1.167 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 -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","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches