Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 99.86 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.00109/0.001091, allocations: 177.3 kB / 15.95 MB, free: 216 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.655/1.655, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.54/2.54, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003581, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8082, allocations: 142.3 MB / 0.9535 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006388/0.8147, allocations: 4.87 MB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.9663, allocations: 131.5 MB / 1.087 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.9677, allocations: 23.88 kB / 1.087 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004407/0.9721, allocations: 1.308 MB / 1.088 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.9747, allocations: 0.7352 MB / 1.089 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.977, allocations: 0.805 MB / 1.089 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00282/0.9798, allocations: 1.911 MB / 1.091 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.9809, allocations: 0.7382 MB / 1.092 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.9824, allocations: 0.9223 MB / 1.093 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.9835, allocations: 0.747 MB / 1.094 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.9837, allocations: 52 kB / 1.094 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.9874, allocations: 1.736 MB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.9886, allocations: 1.278 MB / 1.097 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006182/0.9892, allocations: 432.3 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006182/0.9954, allocations: 4.397 MB / 1.101 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.9954, allocations: 0 / 1.101 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.537e-06/0.9954, allocations: 0 / 1.101 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.366e-05/0.9955, allocations: 7.938 kB / 1.101 GB, free: 8.43 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.008121/1.004, allocations: 3.485 MB / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.004, allocations: 8.031 kB / 1.105 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/1.005, allocations: 360.2 kB / 1.105 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07785/1.083, allocations: 80.87 MB / 1.184 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/1.083, allocations: 118.4 kB / 1.184 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/1.084, allocations: 148 kB / 1.184 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/1.086, allocations: 1.378 MB / 1.186 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/1.086, allocations: 0 / 1.186 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.086, allocations: 59.98 kB / 1.186 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/1.086, allocations: 28 kB / 1.186 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/1.088, allocations: 1.461 MB / 1.187 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02573/1.114, allocations: 23.75 MB / 1.21 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/1.117, allocations: 1.253 MB / 1.212 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/1.117, allocations: 33.19 kB / 1.212 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/1.118, allocations: 0.8092 MB / 1.212 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=104): time 3.587e-06/1.118, allocations: 3.938 kB / 1.212 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104): time 0.004902/1.123, allocations: 2.396 MB / 1.215 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000222/1.123, allocations: 326.5 kB / 1.215 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8741/1.997, allocations: 99.72 MB / 1.313 GB, free: 239.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004882/1.998, allocations: 57.7 kB / 1.313 GB, free: 239.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.999, allocations: 1.095 MB / 1.314 GB, free: 238.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/1.999, allocations: 333.6 kB / 1.314 GB, free: 237.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/2, allocations: 32 kB / 1.314 GB, free: 237.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/2, allocations: 375.4 kB / 1.314 GB, free: 237.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/2.001, allocations: 1.039 MB / 1.315 GB, free: 236.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/2.002, allocations: 1.261 MB / 1.317 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/2.004, allocations: 1.303 MB / 1.318 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/2.004, allocations: 0 / 1.318 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004426/2.008, allocations: 2.903 MB / 1.321 GB, free: 231 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/2.008, allocations: 149.6 kB / 1.321 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/2.008, allocations: 4 kB / 1.321 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/2.008, allocations: 12 kB / 1.321 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/2.009, allocations: 315.5 kB / 1.321 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/2.009, allocations: 12 kB / 1.321 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/2.011, allocations: 332.8 kB / 1.322 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/2.012, allocations: 76.22 kB / 1.322 GB, free: 230.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (182): * Single equations (assignments): 181 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001614/2.013, allocations: 1.043 MB / 1.323 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007705/2.014, allocations: 234.6 kB / 1.323 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/2.017, allocations: 2.222 MB / 1.325 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/2.017, allocations: 12 kB / 1.325 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/2.017, allocations: 0 / 1.325 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/2.017, allocations: 11.25 kB / 1.325 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/2.02, allocations: 2.017 MB / 1.327 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/2.02, allocations: 0 / 1.327 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/2.021, allocations: 167.7 kB / 1.327 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/2.021, allocations: 4 kB / 1.327 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/2.021, allocations: 31.97 kB / 1.327 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/2.021, allocations: 4 kB / 1.327 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/2.021, allocations: 3.906 kB / 1.327 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/2.024, allocations: 2.026 MB / 1.329 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/2.025, allocations: 0.8227 MB / 1.33 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/2.026, allocations: 27.44 kB / 1.33 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/2.027, allocations: 205.5 kB / 1.33 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/2.027, allocations: 85.66 kB / 1.33 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.962e-05/2.027, allocations: 51.97 kB / 1.33 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05789/2.085, allocations: 79.59 MB / 1.408 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.41e-07/2.085, allocations: 0 / 1.408 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003968/2.089, allocations: 1.057 MB / 1.409 GB, free: 140.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 (103): * Single equations (assignments): 96 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00258/2.092, allocations: 0.9553 MB / 1.41 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003396/2.095, allocations: 3.232 MB / 1.413 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/2.095, allocations: 128 / 1.413 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/2.097, allocations: 1.385 MB / 1.415 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/2.099, allocations: 328.6 kB / 1.415 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/2.106, allocations: 5.785 MB / 1.42 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/2.107, allocations: 1.829 MB / 1.422 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002003/2.109, allocations: 0.781 MB / 1.423 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/2.11, allocations: 315.3 kB / 1.423 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/2.11, allocations: 0 / 1.423 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.09017/2.2, allocations: 68.56 MB / 1.49 GB, free: 57.89 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches