Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0009625/0.0009627, allocations: 97.91 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.0009357/0.0009357, 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.317/1.317, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.58/2.58, allocations: 436.5 MB / 0.7104 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005125, allocations: 16 kB / 0.8708 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7533/0.7538, allocations: 153.6 MB / 1.021 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006023/0.7599, allocations: 4.86 MB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.9037, allocations: 131.5 MB / 1.154 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009329/0.9047, allocations: 19.88 kB / 1.154 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003629/0.9083, allocations: 1.316 MB / 1.155 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.9104, allocations: 0.7273 MB / 1.156 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.9125, allocations: 0.812 MB / 1.157 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.9148, allocations: 1.908 MB / 1.159 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009376/0.9158, allocations: 0.738 MB / 1.159 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.9171, allocations: 0.9223 MB / 1.16 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000936/0.918, allocations: 0.7508 MB / 1.161 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.9182, allocations: 52 kB / 1.161 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.9214, allocations: 1.736 MB / 1.163 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.9225, allocations: 1.267 MB / 1.164 GB, free: 14.28 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004635/0.923, allocations: 436.3 kB / 1.164 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005169/0.9281, allocations: 4.401 MB / 1.169 GB, free: 9.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9282, allocations: 0 / 1.169 GB, free: 9.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9282, allocations: 0 / 1.169 GB, free: 9.434 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.383e-05/0.9282, allocations: 0 / 1.169 GB, free: 9.434 MB / 0.92 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.007484/0.9357, allocations: 3.489 MB / 1.172 GB, free: 5.875 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.9358, allocations: 15.98 kB / 1.172 GB, free: 5.859 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.9371, allocations: 356.1 kB / 1.172 GB, free: 5.508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6711/1.608, allocations: 80.86 MB / 1.251 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.608, allocations: 116.6 kB / 1.252 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/1.609, allocations: 150.5 kB / 1.252 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/1.611, allocations: 1.374 MB / 1.253 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.611, allocations: 1.219 kB / 1.253 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.612, allocations: 54.83 kB / 1.253 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/1.612, allocations: 29.5 kB / 1.253 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/1.614, allocations: 1.46 MB / 1.255 GB, free: 209.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/1.637, allocations: 23.76 MB / 1.278 GB, free: 193.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/1.639, allocations: 1.25 MB / 1.279 GB, free: 192.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/1.639, allocations: 36.8 kB / 1.279 GB, free: 192.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/1.641, allocations: 0.7988 MB / 1.28 GB, free: 191.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.817e-06/1.641, allocations: 0 / 1.28 GB, free: 191.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=104): time 0.004139/1.645, allocations: 2.398 MB / 1.282 GB, free: 189.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.645, allocations: 339.9 kB / 1.282 GB, free: 189 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08219/1.727, allocations: 99.71 MB / 1.38 GB, free: 89.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004074/1.728, allocations: 61.7 kB / 1.38 GB, free: 89.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009918/1.729, allocations: 1.094 MB / 1.381 GB, free: 88.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000355/1.729, allocations: 336.4 kB / 1.381 GB, free: 87.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/1.729, allocations: 32 kB / 1.381 GB, free: 87.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.972e-05/1.729, allocations: 373.9 kB / 1.382 GB, free: 87.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/1.73, allocations: 1.042 MB / 1.383 GB, free: 86.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.732, allocations: 1.256 MB / 1.384 GB, free: 85.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/1.733, allocations: 1.298 MB / 1.385 GB, free: 83.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.733, allocations: 0 / 1.385 GB, free: 83.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004301/1.738, allocations: 2.908 MB / 1.388 GB, free: 80.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/1.738, allocations: 149.6 kB / 1.388 GB, free: 80.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.738, allocations: 4 kB / 1.388 GB, free: 80.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/1.738, allocations: 15.94 kB / 1.388 GB, free: 80.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.739, allocations: 315.5 kB / 1.388 GB, free: 80.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.739, allocations: 14.62 kB / 1.388 GB, free: 80.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/1.741, allocations: 347.3 kB / 1.389 GB, free: 79.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/1.741, allocations: 67.97 kB / 1.389 GB, free: 79.91 MB / 0.9825 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.001476/1.743, allocations: 1.037 MB / 1.39 GB, free: 78.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/1.743, allocations: 236.9 kB / 1.39 GB, free: 78.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/1.747, allocations: 2.221 MB / 1.392 GB, free: 76.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.747, allocations: 8 kB / 1.392 GB, free: 76.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.747, allocations: 3.953 kB / 1.392 GB, free: 76.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.747, allocations: 11.97 kB / 1.392 GB, free: 76.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/1.749, allocations: 2.015 MB / 1.394 GB, free: 74.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.749, allocations: 0 / 1.394 GB, free: 74.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/1.75, allocations: 167.7 kB / 1.394 GB, free: 74.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/1.75, allocations: 4 kB / 1.394 GB, free: 74.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-05/1.75, allocations: 37.38 kB / 1.394 GB, free: 74.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.75, allocations: 4 kB / 1.394 GB, free: 74.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.75, allocations: 7.953 kB / 1.394 GB, free: 74.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/1.753, allocations: 2.022 MB / 1.396 GB, free: 72.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.755, allocations: 0.8253 MB / 1.397 GB, free: 71.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/1.755, allocations: 24 kB / 1.397 GB, free: 71.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.756, allocations: 207.9 kB / 1.397 GB, free: 70.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.756, allocations: 80.88 kB / 1.398 GB, free: 70.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-05/1.757, allocations: 65.03 kB / 1.398 GB, free: 70.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.05588/1.812, allocations: 79.58 MB / 1.475 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.41e-07/1.813, allocations: 0 / 1.475 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003368/1.816, allocations: 1.062 MB / 1.476 GB, free: 6.254 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.002404/1.818, allocations: 0.9315 MB / 1.477 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004305/1.823, allocations: 3.227 MB / 1.48 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.823, allocations: 4.812 kB / 1.48 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/1.824, allocations: 1.377 MB / 1.482 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.827, allocations: 341.5 kB / 1.482 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009563/1.836, allocations: 5.788 MB / 1.488 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/1.838, allocations: 1.83 MB / 1.49 GB, free: 8.969 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00221/1.84, allocations: 0.7733 MB / 1.49 GB, free: 8.188 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/1.841, allocations: 315.2 kB / 1.491 GB, free: 7.879 MB / 1.014 GB Notification: Performance of SimCode: time 1.042e-06/1.841, allocations: 0 / 1.491 GB, free: 7.879 MB / 1.014 GB Notification: Performance of Templates: time 0.09954/1.94, allocations: 68.57 MB / 1.558 GB, free: 3.664 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches