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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.275/2.275, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 190 kB / 0.4902 GB, free: 2.301 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.775/1.775, allocations: 223.2 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.0008421, allocations: 92.33 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003805, allocations: 10.91 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2717, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.4647, allocations: 160 MB / 1.385 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.465, allocations: 83.95 kB / 1.386 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06348/0.5285, allocations: 23.19 MB / 1.408 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5285, allocations: 3.984 kB / 1.408 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.066e-05/0.5286, allocations: 12 kB / 1.408 GB, free: 2.18 MB / 0.9011 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.002104/0.5307, allocations: 1.078 MB / 1.409 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.5308, allocations: 12.56 kB / 1.409 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009976/0.5318, allocations: 210.5 kB / 1.409 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.5328, allocations: 0.5116 MB / 1.41 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.5328, allocations: 41 kB / 1.41 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.5329, allocations: 40 kB / 1.41 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/0.5339, allocations: 474.1 kB / 1.41 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5339, allocations: 0 / 1.41 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.534, allocations: 20 kB / 1.411 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.534, allocations: 15.89 kB / 1.411 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009804/0.535, allocations: 403.8 kB / 1.411 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.5377, allocations: 1.498 MB / 1.412 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.5384, allocations: 263.3 kB / 1.413 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.5384, allocations: 8.234 kB / 1.413 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.5385, allocations: 38.8 kB / 1.413 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.5385, allocations: 0 / 1.413 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28): time 0.002033/0.5405, allocations: 0.6835 MB / 1.413 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.5406, allocations: 85.11 kB / 1.413 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.5418, allocations: 0.8089 MB / 1.414 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.5419, allocations: 33.69 kB / 1.414 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.5422, allocations: 424.1 kB / 1.415 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/0.5423, allocations: 94.72 kB / 1.415 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.5423, allocations: 4 kB / 1.415 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5425, allocations: 322 kB / 1.415 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.5428, allocations: 136.5 kB / 1.415 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.5433, allocations: 172.8 kB / 1.415 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.5437, allocations: 149.9 kB / 1.415 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5437, allocations: 0 / 1.415 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001362/0.5451, allocations: 0.5054 MB / 1.416 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.5452, allocations: 93.08 kB / 1.416 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5453, allocations: 0 / 1.416 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004921/0.5457, allocations: 80.8 kB / 1.416 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.5462, allocations: 75.94 kB / 1.416 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006595/0.5468, allocations: 0.6187 MB / 1.417 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.5477, allocations: 91.55 kB / 1.417 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.5477, allocations: 7.984 kB / 1.417 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5477, allocations: 4 kB / 1.417 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/0.5489, allocations: 400.7 kB / 1.417 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5489, allocations: 0 / 1.417 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/0.5492, allocations: 84.8 kB / 1.417 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.5496, allocations: 71.89 kB / 1.417 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.5517, allocations: 1.672 MB / 1.419 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.5523, allocations: 75.61 kB / 1.419 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.5524, allocations: 11.98 kB / 1.419 GB, free: 6.477 MB / 0.9167 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.0004904/0.5529, allocations: 337.8 kB / 1.419 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.553, allocations: 86.88 kB / 1.42 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.5532, allocations: 97.06 kB / 1.42 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5532, allocations: 4 kB / 1.42 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5532, allocations: 0 / 1.42 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5533, allocations: 15.88 kB / 1.42 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.5551, allocations: 1.039 MB / 1.421 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5551, allocations: 3.938 kB / 1.421 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.5554, allocations: 47.97 kB / 1.421 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.5557, allocations: 84.86 kB / 1.421 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.5557, allocations: 8 kB / 1.421 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.5575, allocations: 1.68 MB / 1.422 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5575, allocations: 3.938 kB / 1.422 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000905/0.5584, allocations: 0.5771 MB / 1.423 GB, free: 2.234 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.5587, allocations: 191.8 kB / 1.423 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.5588, allocations: 8 kB / 1.423 GB, free: 2.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.5592, allocations: 35.97 kB / 1.423 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.5593, allocations: 23.97 kB / 1.423 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.5593, allocations: 8 kB / 1.423 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009896/0.5603, allocations: 0.6571 MB / 1.424 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5603, allocations: 0 / 1.424 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007914/0.5611, allocations: 275.4 kB / 1.424 GB, free: 1.016 MB / 0.9167 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.0005277/0.5617, allocations: 381.6 kB / 1.425 GB, free: 0.6445 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.5631, allocations: 0.5998 MB / 1.425 GB, free: 32 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5631, allocations: 0 / 1.425 GB, free: 32 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.5092/1.072, allocations: 263.2 kB / 1.425 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.073, allocations: 146.9 kB / 1.426 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/1.076, allocations: 1.665 MB / 1.427 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/1.076, allocations: 1.055 MB / 1.428 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003899/1.077, allocations: 72.12 kB / 1.428 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/1.077, allocations: 36.7 kB / 1.428 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.152e-06/1.077, allocations: 0 / 1.428 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.02225/1.099, allocations: 10.06 MB / 1.438 GB, free: 176.6 MB / 0.9167 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