Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") translateModel(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, 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.001668/0.001668, 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.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003638, allocations: 8 kB / 0.8707 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.6268, allocations: 153.7 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.004364/0.6312, allocations: 3.633 MB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003788/0.635, allocations: 2.651 MB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005529/0.6356, allocations: 15.94 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.638, allocations: 0.6578 MB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.6392, allocations: 351 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.6397, allocations: 131.8 kB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.641, allocations: 0.6835 MB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.6414, allocations: 283.5 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.6419, allocations: 294.6 kB / 1.029 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.6423, allocations: 298.3 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.6424, allocations: 16 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.6425, allocations: 55.91 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.6427, allocations: 119.3 kB / 1.03 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.6429, allocations: 189.2 kB / 1.03 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000714/0.6436, allocations: 0.6992 MB / 1.031 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6436, allocations: 0 / 1.031 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6436, allocations: 0 / 1.031 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.6436, allocations: 4 kB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001876/0.6455, allocations: 1.077 MB / 1.032 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6455, allocations: 11.98 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.6465, allocations: 226.5 kB / 1.032 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.6475, allocations: 0.6355 MB / 1.033 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.6475, allocations: 37 kB / 1.033 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.6476, allocations: 47.95 kB / 1.033 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009331/0.6486, allocations: 474.1 kB / 1.033 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6486, allocations: 0 / 1.033 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.6486, allocations: 16 kB / 1.033 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.6486, allocations: 11.98 kB / 1.033 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009502/0.6496, allocations: 415.6 kB / 1.033 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.6523, allocations: 1.482 MB / 1.035 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.6529, allocations: 271.3 kB / 1.035 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.653, allocations: 4.234 kB / 1.035 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.653, allocations: 34.8 kB / 1.035 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 2.314e-06/0.653, allocations: 0 / 1.035 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.002021/0.6551, allocations: 0.7041 MB / 1.036 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.6551, allocations: 81.11 kB / 1.036 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.6564, allocations: 0.9193 MB / 1.037 GB, free: 368 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.6564, allocations: 33.7 kB / 1.037 GB, free: 328 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.6568, allocations: 428.3 kB / 1.037 GB, free: 15.9 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.689e-05/0.6569, allocations: 98.56 kB / 1.037 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.6569, allocations: 4 kB / 1.037 GB, free: 15.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.657, allocations: 321.9 kB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.6574, allocations: 132.5 kB / 1.038 GB, free: 15.35 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.6578, allocations: 171.8 kB / 1.038 GB, free: 15.17 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.6582, allocations: 149.1 kB / 1.038 GB, free: 15.03 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6582, allocations: 4 kB / 1.038 GB, free: 15.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001313/0.6595, allocations: 0.4939 MB / 1.039 GB, free: 14.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.6596, allocations: 97.34 kB / 1.039 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6596, allocations: 3.938 kB / 1.039 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/0.6601, allocations: 84.78 kB / 1.039 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.6605, allocations: 75.95 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.6626, allocations: 1.699 MB / 1.041 GB, free: 12.42 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.6632, allocations: 95.56 kB / 1.041 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.6633, allocations: 15.98 kB / 1.041 GB, free: 12.31 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.6633, allocations: 11.89 kB / 1.041 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/0.6644, allocations: 396.5 kB / 1.041 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.6644, allocations: 0 / 1.041 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.6648, allocations: 80.8 kB / 1.041 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.6651, allocations: 71.95 kB / 1.041 GB, free: 11.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.6668, allocations: 1.672 MB / 1.043 GB, free: 9.953 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/0.6674, allocations: 83.52 kB / 1.043 GB, free: 9.871 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.6675, allocations: 8 kB / 1.043 GB, free: 9.863 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004096/0.6679, allocations: 337 kB / 1.043 GB, free: 9.523 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.668, allocations: 90.88 kB / 1.043 GB, free: 9.434 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.6681, allocations: 93.06 kB / 1.043 GB, free: 9.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6682, allocations: 11.95 kB / 1.043 GB, free: 9.328 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.6682, allocations: 0 / 1.043 GB, free: 9.328 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6682, allocations: 3.984 kB / 1.043 GB, free: 9.324 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.6698, allocations: 1.059 MB / 1.044 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6699, allocations: 4 kB / 1.044 GB, free: 8.191 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.6701, allocations: 51.91 kB / 1.044 GB, free: 8.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003425/0.6704, allocations: 84.92 kB / 1.045 GB, free: 8.055 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.6705, allocations: 4 kB / 1.045 GB, free: 8.051 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.6722, allocations: 1.672 MB / 1.046 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6722, allocations: 0 / 1.046 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000995/0.6732, allocations: 0.5889 MB / 1.047 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.6736, allocations: 179.9 kB / 1.047 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/0.6737, allocations: 11.94 kB / 1.047 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.6741, allocations: 39.88 kB / 1.047 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.6742, allocations: 23.97 kB / 1.047 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.6742, allocations: 8 kB / 1.047 GB, free: 5.324 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001017/0.6752, allocations: 0.661 MB / 1.048 GB, free: 4.652 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6752, allocations: 0 / 1.048 GB, free: 4.652 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007607/0.676, allocations: 259.5 kB / 1.048 GB, free: 4.398 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/0.6762, allocations: 111.2 kB / 1.048 GB, free: 4.281 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.6779, allocations: 0.7488 MB / 1.049 GB, free: 3.508 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.678, allocations: 0 / 1.049 GB, free: 3.508 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.6784, allocations: 262.7 kB / 1.049 GB, free: 3.238 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.6791, allocations: 159.3 kB / 1.049 GB, free: 3.078 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.6817, allocations: 1.679 MB / 1.051 GB, free: 1.359 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.6825, allocations: 1.063 MB / 1.052 GB, free: 272 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005897/0.6831, allocations: 117.3 kB / 1.052 GB, free: 152 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.6832, allocations: 47.42 kB / 1.052 GB, free: 104 kB / 0.795 GB Notification: Performance of SimCode: time 7.52e-07/0.6832, allocations: 0 / 1.052 GB, free: 104 kB / 0.795 GB Notification: Performance of Templates: time 0.0163/0.6995, allocations: 8.191 MB / 1.06 GB, free: 8.035 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches