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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 99.55 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.001365/0.001365, 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.315/1.315, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.588/2.588, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 11.94 kB / 0.8708 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6229/0.6233, allocations: 153.7 MB / 1.021 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005426/0.6287, allocations: 4.836 MB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1366/0.7653, allocations: 131.4 MB / 1.154 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007591/0.7661, allocations: 19.88 kB / 1.154 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.7695, allocations: 1.312 MB / 1.155 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.7713, allocations: 0.7252 MB / 1.156 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.7731, allocations: 0.7266 MB / 1.157 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.7749, allocations: 1.403 MB / 1.158 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009322/0.7758, allocations: 0.7516 MB / 1.159 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008233/0.7766, allocations: 0.634 MB / 1.159 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/0.7773, allocations: 0.6064 MB / 1.16 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.7775, allocations: 44 kB / 1.16 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.7802, allocations: 1.763 MB / 1.162 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008284/0.7811, allocations: 1.064 MB / 1.163 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.7814, allocations: 408.3 kB / 1.163 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.7859, allocations: 4.202 MB / 1.167 GB, free: 10.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7859, allocations: 0 / 1.167 GB, free: 10.93 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7859, allocations: 0 / 1.167 GB, free: 10.93 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.223e-05/0.7859, allocations: 0 / 1.167 GB, free: 10.93 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006546/0.7925, allocations: 3.299 MB / 1.17 GB, free: 7.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7925, allocations: 11.98 kB / 1.17 GB, free: 7.551 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.7939, allocations: 364.3 kB / 1.171 GB, free: 7.191 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07573/0.8696, allocations: 80.77 MB / 1.25 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.624e-05/0.8698, allocations: 106.5 kB / 1.25 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.87, allocations: 132 kB / 1.25 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.8723, allocations: 1.341 MB / 1.251 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.8723, allocations: 0 / 1.251 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.8724, allocations: 60 kB / 1.251 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.8725, allocations: 32 kB / 1.251 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.8748, allocations: 1.496 MB / 1.253 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5556/1.43, allocations: 23.48 MB / 1.276 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/1.433, allocations: 1.143 MB / 1.277 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.46e-05/1.433, allocations: 41.16 kB / 1.277 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009983/1.434, allocations: 0.6535 MB / 1.277 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.625e-06/1.434, allocations: 0 / 1.277 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003949/1.438, allocations: 1.737 MB / 1.279 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/1.438, allocations: 193.6 kB / 1.279 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08282/1.521, allocations: 99.44 MB / 1.376 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003014/1.521, allocations: 50.64 kB / 1.376 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009428/1.522, allocations: 1.066 MB / 1.377 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/1.522, allocations: 326.8 kB / 1.378 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/1.522, allocations: 24 kB / 1.378 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/1.522, allocations: 348.5 kB / 1.378 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/1.523, allocations: 493 kB / 1.379 GB, free: 123.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007865/1.524, allocations: 0.6197 MB / 1.379 GB, free: 122.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/1.525, allocations: 0.548 MB / 1.38 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/1.525, allocations: 0 / 1.38 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002826/1.528, allocations: 1.508 MB / 1.381 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.528, allocations: 8 kB / 1.381 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.528, allocations: 1.312 kB / 1.381 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/1.528, allocations: 88.7 kB / 1.381 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/1.529, allocations: 245.5 kB / 1.382 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/1.531, allocations: 1.526 MB / 1.383 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.533, allocations: 289.2 kB / 1.383 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-05/1.533, allocations: 43.98 kB / 1.383 GB, free: 118.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (138): * Single equations (assignments): 137 * 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.001152/1.534, allocations: 0.8139 MB / 1.384 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/1.534, allocations: 225 kB / 1.384 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/1.537, allocations: 1.633 MB / 1.386 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.537, allocations: 16 kB / 1.386 GB, free: 115.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/1.537, allocations: 0 / 1.386 GB, free: 115.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.537, allocations: 7.969 kB / 1.386 GB, free: 115.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/1.539, allocations: 1.968 MB / 1.388 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.539, allocations: 0 / 1.388 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/1.54, allocations: 187.7 kB / 1.388 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/1.54, allocations: 84.77 kB / 1.388 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/1.54, allocations: 31.98 kB / 1.388 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/1.542, allocations: 1.564 MB / 1.39 GB, free: 111.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.542, allocations: 0 / 1.39 GB, free: 111.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/1.544, allocations: 1.36 MB / 1.391 GB, free: 110.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.545, allocations: 0.7825 MB / 1.392 GB, free: 109.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/1.545, allocations: 24 kB / 1.392 GB, free: 109.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.546, allocations: 208.9 kB / 1.392 GB, free: 109.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/1.547, allocations: 80.88 kB / 1.392 GB, free: 109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/1.547, allocations: 47.97 kB / 1.392 GB, free: 109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05273/1.599, allocations: 79.42 MB / 1.47 GB, free: 29.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.51e-07/1.599, allocations: 3.75 kB / 1.47 GB, free: 29.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002918/1.602, allocations: 0.996 MB / 1.471 GB, free: 28.62 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.002795/1.605, allocations: 0.9388 MB / 1.472 GB, free: 27.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002685/1.608, allocations: 1.241 MB / 1.473 GB, free: 26.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.608, allocations: 0.625 kB / 1.473 GB, free: 26.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.609, allocations: 0.665 MB / 1.473 GB, free: 26.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.611, allocations: 348.2 kB / 1.474 GB, free: 25.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008312/1.619, allocations: 5.347 MB / 1.479 GB, free: 20.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/1.621, allocations: 1.775 MB / 1.481 GB, free: 18.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001883/1.623, allocations: 0.7646 MB / 1.482 GB, free: 17.76 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009004/1.624, allocations: 315.2 kB / 1.482 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.624, allocations: 0 / 1.482 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.09153/1.715, allocations: 66.27 MB / 1.547 GB, free: 15.56 MB / 1.061 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