Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.0008802/0.0008804, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007317/0.007318, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005261/0.0005261, allocations: 12 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8396/0.8401, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.004748/0.8449, allocations: 4.081 MB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004601/0.8496, allocations: 2.933 MB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005405/0.8502, allocations: 15.88 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.8523, allocations: 0.8579 MB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009013/0.8532, allocations: 322.1 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.8537, allocations: 183.8 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.8549, allocations: 1.146 MB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.8554, allocations: 333.9 kB / 1.033 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.8558, allocations: 290.4 kB / 1.033 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.8563, allocations: 397.8 kB / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.8564, allocations: 20 kB / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.8565, allocations: 51.95 kB / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.8567, allocations: 127.3 kB / 1.033 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.857, allocations: 403.2 kB / 1.034 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007804/0.8578, allocations: 0.8986 MB / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8578, allocations: 0 / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8578, allocations: 0 / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.8578, allocations: 0 / 1.035 GB, free: 3.793 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.001664/0.8595, allocations: 1.054 MB / 1.036 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.8596, allocations: 12.03 kB / 1.036 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.8606, allocations: 231.5 kB / 1.036 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.8614, allocations: 0.6829 MB / 1.037 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.8615, allocations: 33.38 kB / 1.037 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.8616, allocations: 44.12 kB / 1.037 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009496/0.8625, allocations: 482.1 kB / 1.037 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.8625, allocations: 0 / 1.037 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.8626, allocations: 16 kB / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.8626, allocations: 8 kB / 1.037 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.8636, allocations: 411.7 kB / 1.038 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.8662, allocations: 1.482 MB / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.8669, allocations: 275.2 kB / 1.039 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.8672, allocations: 145.3 kB / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.8673, allocations: 240 / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.8673, allocations: 42.73 kB / 1.04 GB, free: 14.71 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.8673, allocations: 0 / 1.04 GB, free: 14.71 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.002175/0.8695, allocations: 0.6977 MB / 1.04 GB, free: 13.99 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.8696, allocations: 81.11 kB / 1.04 GB, free: 13.89 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.8709, allocations: 0.9349 MB / 1.041 GB, free: 12.94 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.871, allocations: 29.7 kB / 1.041 GB, free: 12.9 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.8713, allocations: 428.3 kB / 1.042 GB, free: 12.48 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.8714, allocations: 94.59 kB / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.8715, allocations: 33.64 kB / 1.042 GB, free: 12.35 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8716, allocations: 318 kB / 1.042 GB, free: 12.03 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.872, allocations: 144.4 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.8725, allocations: 171.8 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.8731, allocations: 277.8 kB / 1.043 GB, free: 11.44 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8731, allocations: 4 kB / 1.043 GB, free: 11.44 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001283/0.8744, allocations: 0.5015 MB / 1.043 GB, free: 10.93 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-05/0.8745, allocations: 101.1 kB / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8745, allocations: 0 / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004759/0.875, allocations: 88.78 kB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.8754, allocations: 71.89 kB / 1.043 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.8775, allocations: 1.686 MB / 1.045 GB, free: 8.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/0.8782, allocations: 87.48 kB / 1.045 GB, free: 8.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.8782, allocations: 11.98 kB / 1.045 GB, free: 8.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.8782, allocations: 6.031 kB / 1.045 GB, free: 8.746 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/0.8794, allocations: 400.5 kB / 1.045 GB, free: 8.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.8794, allocations: 0 / 1.045 GB, free: 8.352 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.8798, allocations: 92.77 kB / 1.046 GB, free: 8.258 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.8802, allocations: 71.89 kB / 1.046 GB, free: 8.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.8819, allocations: 1.66 MB / 1.047 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.8824, allocations: 75.64 kB / 1.047 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.8825, allocations: 8 kB / 1.047 GB, free: 6.309 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 (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.0004637/0.8829, allocations: 340.5 kB / 1.048 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.883, allocations: 94.81 kB / 1.048 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.8832, allocations: 93.06 kB / 1.048 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8832, allocations: 4 kB / 1.048 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8832, allocations: 0 / 1.048 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.8832, allocations: 3.984 kB / 1.048 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.885, allocations: 1.052 MB / 1.049 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.885, allocations: 3.984 kB / 1.049 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.8852, allocations: 52.05 kB / 1.049 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/0.8856, allocations: 88.77 kB / 1.049 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.8856, allocations: 4 kB / 1.049 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.8873, allocations: 1.652 MB / 1.051 GB, free: 2.715 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8873, allocations: 3.938 kB / 1.051 GB, free: 2.711 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009027/0.8882, allocations: 0.5433 MB / 1.051 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.8885, allocations: 187.9 kB / 1.051 GB, free: 1.934 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/0.8886, allocations: 15.92 kB / 1.051 GB, free: 1.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.889, allocations: 39.91 kB / 1.051 GB, free: 1.879 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.8891, allocations: 15.97 kB / 1.051 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.8891, allocations: 12 kB / 1.051 GB, free: 1.852 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009699/0.8901, allocations: 0.6688 MB / 1.052 GB, free: 1.172 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8901, allocations: 0 / 1.052 GB, free: 1.172 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007655/0.8908, allocations: 263.5 kB / 1.052 GB, free: 0.9141 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 (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.0001407/0.891, allocations: 111.1 kB / 1.052 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.8926, allocations: 0.7518 MB / 1.053 GB, free: 20 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8926, allocations: 0 / 1.053 GB, free: 20 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.893, allocations: 262.5 kB / 1.053 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/0.894, allocations: 155.6 kB / 1.054 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.8965, allocations: 1.767 MB / 1.055 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.8972, allocations: 1.043 MB / 1.056 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004616/0.8976, allocations: 121.2 kB / 1.056 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.8977, allocations: 43.44 kB / 1.056 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.8977, allocations: 0 / 1.056 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of Templates: time 0.01676/0.9145, allocations: 8.31 MB / 1.065 GB, free: 4.359 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches