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.0008176/0.0008176, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 181.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 462.6 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 8.156 kB / 0.9034 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.004739/0.3125, allocations: 4.068 MB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004312/0.3168, allocations: 2.943 MB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.3174, allocations: 15.94 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.3195, allocations: 0.8562 MB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.3205, allocations: 334 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.3211, allocations: 179 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001412/0.3225, allocations: 1.145 MB / 1.069 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005649/0.3231, allocations: 333.9 kB / 1.069 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.3236, allocations: 294.4 kB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.3244, allocations: 389.8 kB / 1.07 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.742e-05/0.3245, allocations: 19.94 kB / 1.07 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.3247, allocations: 63.89 kB / 1.07 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.3249, allocations: 127.3 kB / 1.07 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.3253, allocations: 407.2 kB / 1.07 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.326, allocations: 0.6934 MB / 1.071 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.326, allocations: 0 / 1.071 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.326, allocations: 3.938 kB / 1.071 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.991e-05/0.3261, allocations: 0 / 1.071 GB, free: 9.086 MB / 0.8262 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.001807/0.3279, allocations: 1.054 MB / 1.072 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.3279, allocations: 15.97 kB / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.329, allocations: 227.5 kB / 1.072 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009859/0.33, allocations: 0.6713 MB / 1.073 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.3301, allocations: 29.38 kB / 1.073 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.3301, allocations: 48.12 kB / 1.073 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3312, allocations: 486.1 kB / 1.073 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3312, allocations: 0 / 1.073 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.3312, allocations: 16 kB / 1.073 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3312, allocations: 12 kB / 1.073 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.3323, allocations: 411.7 kB / 1.074 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.3349, allocations: 1.486 MB / 1.075 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.3356, allocations: 271.2 kB / 1.075 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.3359, allocations: 153.2 kB / 1.076 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.3359, allocations: 4.234 kB / 1.076 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.336, allocations: 34.8 kB / 1.076 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.336, allocations: 0 / 1.076 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.002095/0.3381, allocations: 0.7082 MB / 1.076 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.3381, allocations: 81.11 kB / 1.076 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.3394, allocations: 0.9233 MB / 1.077 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.3395, allocations: 33.7 kB / 1.077 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.3398, allocations: 432.1 kB / 1.078 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.3399, allocations: 94.72 kB / 1.078 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.34, allocations: 25.7 kB / 1.078 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3401, allocations: 322 kB / 1.078 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.3405, allocations: 136.5 kB / 1.078 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.3409, allocations: 171.9 kB / 1.078 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.3415, allocations: 271 kB / 1.079 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3416, allocations: 0 / 1.079 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001292/0.3429, allocations: 0.5129 MB / 1.079 GB, free: 224 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.3429, allocations: 94.16 kB / 1.079 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3429, allocations: 0 / 1.079 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.3434, allocations: 100.7 kB / 1.079 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.3438, allocations: 71.95 kB / 1.079 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.3457, allocations: 1.675 MB / 1.081 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.3464, allocations: 87.62 kB / 1.081 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.3464, allocations: 12 kB / 1.081 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.3464, allocations: 4 kB / 1.081 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/0.3476, allocations: 404.8 kB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.3476, allocations: 0 / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.348, allocations: 88.78 kB / 1.082 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.3483, allocations: 67.95 kB / 1.082 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.3499, allocations: 1.66 MB / 1.083 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.3504, allocations: 79.58 kB / 1.083 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.3505, allocations: 8 kB / 1.083 GB, free: 11.6 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.3508, allocations: 341.9 kB / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3509, allocations: 94.8 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.3511, allocations: 101 kB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3511, allocations: 4 kB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3511, allocations: 0 / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3511, allocations: 0 / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3528, allocations: 1.055 MB / 1.085 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3528, allocations: 8 kB / 1.085 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.353, allocations: 47.91 kB / 1.085 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.3534, allocations: 76.8 kB / 1.085 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.3534, allocations: 8.031 kB / 1.085 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.3549, allocations: 1.66 MB / 1.087 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3549, allocations: 0 / 1.087 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009356/0.3559, allocations: 0.5418 MB / 1.087 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.3562, allocations: 183.9 kB / 1.087 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.3563, allocations: 8 kB / 1.087 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.3567, allocations: 35.97 kB / 1.087 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.3568, allocations: 19.91 kB / 1.088 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3568, allocations: 12 kB / 1.088 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000985/0.3578, allocations: 0.6649 MB / 1.088 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3578, allocations: 0 / 1.088 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007678/0.3586, allocations: 271.4 kB / 1.088 GB, free: 6.207 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/0.3587, allocations: 103.2 kB / 1.089 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.3603, allocations: 0.7468 MB / 1.089 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3603, allocations: 0 / 1.089 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.3607, allocations: 276 kB / 1.09 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.3617, allocations: 154.2 kB / 1.09 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.3641, allocations: 1.773 MB / 1.091 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.3646, allocations: 1.032 MB / 1.092 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3648, allocations: 47.44 kB / 1.092 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of SimCode: time 6.11e-07/0.3648, allocations: 0 / 1.092 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of Templates: time 0.01675/0.3815, allocations: 13.43 MB / 1.106 GB, free: 4.57 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches