Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TRadOut.T|nonSha.port_a.T|nonSha.port_b.T|sha.port_a.T|sha.port_b.T|TAirRoo.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TRadOut.T|nonSha.port_a.T|nonSha.port_b.T|sha.port_a.T|sha.port_b.T|TAirRoo.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 180.7 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009525/0.0009524, allocations: 86.02 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 13.94 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2428, allocations: 106.3 MB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.4249, allocations: 138.4 MB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.4253, allocations: 87.94 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03015/0.4554, allocations: 10.15 MB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4555, allocations: 0 / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.432e-05/0.4555, allocations: 8 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00141/0.4569, allocations: 0.7559 MB / 1.046 GB, free: 10.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.457, allocations: 8.031 kB / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.4571, allocations: 59.3 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.4577, allocations: 343 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.4577, allocations: 33 kB / 1.046 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.4578, allocations: 48 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.4585, allocations: 394.5 kB / 1.047 GB, free: 9.676 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4585, allocations: 0 / 1.047 GB, free: 9.676 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.4586, allocations: 16 kB / 1.047 GB, free: 9.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.4586, allocations: 12 kB / 1.047 GB, free: 9.648 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.4593, allocations: 343.8 kB / 1.047 GB, free: 9.309 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.4616, allocations: 1.3 MB / 1.048 GB, free: 7.957 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.4623, allocations: 395.2 kB / 1.049 GB, free: 7.559 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.4624, allocations: 8 kB / 1.049 GB, free: 7.551 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.4624, allocations: 42.56 kB / 1.049 GB, free: 7.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 1.322e-06/0.4624, allocations: 0 / 1.049 GB, free: 7.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.006939/0.4694, allocations: 1.688 MB / 1.051 GB, free: 5.781 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.4695, allocations: 63.36 kB / 1.051 GB, free: 5.707 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.4698, allocations: 316.7 kB / 1.051 GB, free: 5.391 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.4699, allocations: 37.7 kB / 1.051 GB, free: 5.348 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.4701, allocations: 208.7 kB / 1.051 GB, free: 5.141 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.4702, allocations: 141.8 kB / 1.051 GB, free: 5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.4702, allocations: 12 kB / 1.051 GB, free: 4.988 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4704, allocations: 346.8 kB / 1.052 GB, free: 4.641 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.4707, allocations: 135.9 kB / 1.052 GB, free: 4.508 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.471, allocations: 213.8 kB / 1.052 GB, free: 4.277 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.4713, allocations: 156.6 kB / 1.052 GB, free: 4.125 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4714, allocations: 0 / 1.052 GB, free: 4.125 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001909/0.4733, allocations: 0.712 MB / 1.053 GB, free: 3.402 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/0.4733, allocations: 93.36 kB / 1.053 GB, free: 3.305 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.4734, allocations: 7.984 kB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.475, allocations: 425 kB / 1.053 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4752, allocations: 35.94 kB / 1.053 GB, free: 2.844 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.4766, allocations: 1.053 MB / 1.054 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.4771, allocations: 59.56 kB / 1.054 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.4771, allocations: 12 kB / 1.054 GB, free: 1.695 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.4771, allocations: 4 kB / 1.054 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001951/0.4791, allocations: 0.6717 MB / 1.055 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4791, allocations: 4 kB / 1.055 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.4807, allocations: 424.7 kB / 1.056 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4809, allocations: 27.97 kB / 1.056 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5147/0.9955, allocations: 3.79 MB / 1.059 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.9961, allocations: 48.16 kB / 1.059 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.9962, allocations: 10.81 kB / 1.059 GB, free: 147.6 MB / 0.698 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 (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002758/0.9965, allocations: 238.6 kB / 1.06 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/0.9966, allocations: 40.5 kB / 1.06 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.9967, allocations: 56.16 kB / 1.06 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9967, allocations: 2.719 kB / 1.06 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.9967, allocations: 2.75 kB / 1.06 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.9967, allocations: 5.734 kB / 1.06 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.9973, allocations: 494.7 kB / 1.06 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.9973, allocations: 2.188 kB / 1.06 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.9975, allocations: 23.44 kB / 1.06 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.999, allocations: 401.4 kB / 1.06 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.999, allocations: 10.16 kB / 1.061 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005448/1.004, allocations: 3.761 MB / 1.064 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.004, allocations: 2.312 kB / 1.064 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/1.007, allocations: 0.8201 MB / 1.065 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/1.007, allocations: 147.3 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/1.007, allocations: 7.25 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/1.007, allocations: 21.02 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.007, allocations: 47.75 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/1.007, allocations: 6.844 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002933/1.008, allocations: 254 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/1.008, allocations: 0.6562 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009114/1.009, allocations: 292.6 kB / 1.066 GB, free: 145.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/1.009, allocations: 103 kB / 1.066 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002853/1.012, allocations: 0.9623 MB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.012, allocations: 0.7812 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/1.013, allocations: 0.5022 MB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/1.013, allocations: 104.4 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/1.016, allocations: 0.9832 MB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/1.016, allocations: 0.8408 MB / 1.069 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002678/1.016, allocations: 38.39 kB / 1.069 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/1.016, allocations: 21.72 kB / 1.069 GB, free: 143.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.016, allocations: 5.219 kB / 1.069 GB, free: 143.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02604/1.042, allocations: 10.78 MB / 1.08 GB, free: 142.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches