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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 99.7 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.001319/0.001319, allocations: 177.3 kB / 15.94 MB, free: 220 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.585/1.585, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.672/2.672, allocations: 390.2 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 12 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7614, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005148/0.7666, allocations: 4.845 MB / 0.9582 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.9251, allocations: 131.4 MB / 1.087 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.9266, allocations: 23.88 kB / 1.087 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00413/0.9308, allocations: 1.308 MB / 1.088 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.9332, allocations: 0.7187 MB / 1.089 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.9354, allocations: 0.7323 MB / 1.089 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002371/0.9377, allocations: 1.407 MB / 1.091 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009986/0.9388, allocations: 0.7517 MB / 1.091 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.9397, allocations: 0.634 MB / 1.092 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007637/0.9405, allocations: 0.6064 MB / 1.093 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.9406, allocations: 40 kB / 1.093 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.9438, allocations: 1.763 MB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008766/0.9447, allocations: 1.068 MB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.9452, allocations: 408.3 kB / 1.096 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005735/0.9509, allocations: 4.198 MB / 1.1 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.951, allocations: 0 / 1.1 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.976e-06/0.951, allocations: 0 / 1.1 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.206e-05/0.9511, allocations: 0 / 1.1 GB, free: 9.93 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.00815/0.9592, allocations: 3.294 MB / 1.103 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.9593, allocations: 8.031 kB / 1.103 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.9609, allocations: 364.3 kB / 1.103 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07701/1.038, allocations: 80.77 MB / 1.182 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/1.038, allocations: 106.5 kB / 1.182 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/1.039, allocations: 136 kB / 1.183 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/1.041, allocations: 1.337 MB / 1.184 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/1.041, allocations: 0 / 1.184 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/1.041, allocations: 60 kB / 1.184 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/1.041, allocations: 32 kB / 1.184 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/1.044, allocations: 1.493 MB / 1.185 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02342/1.067, allocations: 23.49 MB / 1.208 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/1.07, allocations: 1.143 MB / 1.209 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.747e-05/1.07, allocations: 41.08 kB / 1.209 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/1.071, allocations: 0.645 MB / 1.21 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=100): time 3.206e-06/1.071, allocations: 4 kB / 1.21 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100): time 0.004539/1.075, allocations: 1.746 MB / 1.212 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/1.075, allocations: 188.9 kB / 1.212 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6926/1.768, allocations: 99.44 MB / 1.309 GB, free: 242.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004748/1.769, allocations: 45.7 kB / 1.309 GB, free: 242.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.77, allocations: 1.059 MB / 1.31 GB, free: 241.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000472/1.771, allocations: 325.6 kB / 1.31 GB, free: 240.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.771, allocations: 22.09 kB / 1.311 GB, free: 240.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.771, allocations: 353.9 kB / 1.311 GB, free: 240.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/1.772, allocations: 494 kB / 1.311 GB, free: 240.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/1.773, allocations: 0.6201 MB / 1.312 GB, free: 239.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/1.773, allocations: 0.5447 MB / 1.312 GB, free: 238.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.773, allocations: 0 / 1.312 GB, free: 238.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003336/1.777, allocations: 1.51 MB / 1.314 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/1.777, allocations: 4 kB / 1.314 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.777, allocations: 4 kB / 1.314 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/1.777, allocations: 87.64 kB / 1.314 GB, free: 237.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/1.778, allocations: 243.3 kB / 1.314 GB, free: 237 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/1.78, allocations: 1.53 MB / 1.316 GB, free: 235.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/1.782, allocations: 282.5 kB / 1.316 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.905e-05/1.782, allocations: 47.97 kB / 1.316 GB, free: 235.1 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.001332/1.783, allocations: 0.812 MB / 1.317 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006038/1.784, allocations: 221.1 kB / 1.317 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/1.787, allocations: 1.642 MB / 1.319 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.787, allocations: 12 kB / 1.319 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.787, allocations: 2.516 kB / 1.319 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.787, allocations: 3.984 kB / 1.319 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/1.789, allocations: 1.974 MB / 1.321 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.789, allocations: 0 / 1.321 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/1.79, allocations: 183.7 kB / 1.321 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/1.79, allocations: 88.05 kB / 1.321 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/1.791, allocations: 31.98 kB / 1.321 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/1.792, allocations: 1.554 MB / 1.322 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.792, allocations: 7.938 kB / 1.322 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/1.794, allocations: 1.357 MB / 1.324 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.796, allocations: 0.7786 MB / 1.325 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/1.796, allocations: 23.98 kB / 1.325 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.797, allocations: 205.7 kB / 1.325 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.797, allocations: 84.81 kB / 1.325 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/1.797, allocations: 51.92 kB / 1.325 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.054/1.851, allocations: 79.42 MB / 1.402 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.851, allocations: 0 / 1.402 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003234/1.855, allocations: 0.9991 MB / 1.403 GB, free: 145.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 (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.002268/1.857, allocations: 0.9402 MB / 1.404 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.859, allocations: 1.249 MB / 1.406 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.859, allocations: 0 / 1.406 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009342/1.86, allocations: 0.6635 MB / 1.406 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/1.862, allocations: 346.2 kB / 1.407 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007722/1.87, allocations: 5.353 MB / 1.412 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.871, allocations: 1.771 MB / 1.413 GB, free: 135.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002038/1.873, allocations: 0.7724 MB / 1.414 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008314/1.874, allocations: 311.2 kB / 1.415 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.272e-06/1.874, allocations: 0 / 1.415 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.08161/1.955, allocations: 66.28 MB / 1.479 GB, free: 68.41 MB / 0.9981 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