Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.00153/0.00153, allocations: 172.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.988/1.988, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.00108/0.00108, allocations: 79.59 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.328e-05/4.33e-05, allocations: 8 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3791, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.595, allocations: 156.7 MB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.595, allocations: 86.98 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04893/1.644, allocations: 10.15 MB / 1.382 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/1.644, allocations: 0 / 1.382 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-05/1.645, allocations: 12 kB / 1.382 GB, free: 4.613 MB / 0.8386 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.001531/1.646, allocations: 0.6931 MB / 1.382 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.646, allocations: 12.03 kB / 1.382 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/1.646, allocations: 55.34 kB / 1.383 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/1.647, allocations: 346.8 kB / 1.383 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/1.647, allocations: 35.88 kB / 1.383 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/1.647, allocations: 42.75 kB / 1.383 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/1.648, allocations: 367.2 kB / 1.383 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/1.648, allocations: 7.938 kB / 1.383 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/1.648, allocations: 10.38 kB / 1.383 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/1.648, allocations: 19.95 kB / 1.383 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/1.649, allocations: 302.3 kB / 1.384 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/1.651, allocations: 1.295 MB / 1.385 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/1.652, allocations: 369.8 kB / 1.385 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/1.652, allocations: 222.5 kB / 1.385 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.649e-05/1.652, allocations: 4 kB / 1.385 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.652, allocations: 47.14 kB / 1.385 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 2.655e-06/1.652, allocations: 0 / 1.385 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=41): time 0.001874/1.654, allocations: 0.6711 MB / 1.386 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/1.654, allocations: 59.34 kB / 1.386 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/1.655, allocations: 308 kB / 1.386 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/1.655, allocations: 29.14 kB / 1.386 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/1.655, allocations: 217 kB / 1.387 GB, free: 460 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/1.655, allocations: 141.6 kB / 1.387 GB, free: 336 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/1.655, allocations: 3.25 kB / 1.387 GB, free: 336 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001828/1.655, allocations: 347.4 kB / 1.387 GB, free: 16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/1.655, allocations: 123.3 kB / 1.387 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/1.656, allocations: 189.8 kB / 1.387 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/1.656, allocations: 130.1 kB / 1.388 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.656, allocations: 4 kB / 1.388 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001754/1.658, allocations: 0.6783 MB / 1.388 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/1.658, allocations: 94.56 kB / 1.388 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.658, allocations: 3.953 kB / 1.388 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/1.659, allocations: 426.8 kB / 1.389 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/1.66, allocations: 31.91 kB / 1.389 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/1.661, allocations: 1.051 MB / 1.39 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/1.662, allocations: 54.2 kB / 1.39 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/1.662, allocations: 15.5 kB / 1.39 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.662, allocations: 4 kB / 1.39 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001789/1.663, allocations: 0.6322 MB / 1.391 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/1.663, allocations: 0 / 1.391 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/1.665, allocations: 435.2 kB / 1.391 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/1.665, allocations: 27.98 kB / 1.391 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/1.671, allocations: 3.663 MB / 1.395 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/1.671, allocations: 50.52 kB / 1.395 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/1.671, allocations: 11.94 kB / 1.395 GB, free: 9.918 MB / 0.8542 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 () * 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.0001515/1.672, allocations: 120 kB / 1.395 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/1.672, allocations: 43.48 kB / 1.395 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/1.672, allocations: 65.25 kB / 1.395 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.672, allocations: 7.938 kB / 1.395 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/1.672, allocations: 0 / 1.395 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.672, allocations: 0 / 1.395 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/1.673, allocations: 495.5 kB / 1.395 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.673, allocations: 7.953 kB / 1.395 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/1.673, allocations: 27.91 kB / 1.395 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/1.674, allocations: 396.9 kB / 1.396 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/1.674, allocations: 10.94 kB / 1.396 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005655/1.68, allocations: 3.639 MB / 1.399 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.68, allocations: 0 / 1.399 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/1.682, allocations: 0.7814 MB / 1.4 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/1.682, allocations: 150.7 kB / 1.4 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/1.682, allocations: 6.875 kB / 1.4 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/1.682, allocations: 26.64 kB / 1.4 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.683, allocations: 31.45 kB / 1.4 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/1.683, allocations: 7.688 kB / 1.4 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002967/1.683, allocations: 249.9 kB / 1.4 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/1.683, allocations: 0 / 1.4 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008927/1.684, allocations: 283.7 kB / 1.401 GB, free: 4.762 MB / 0.8542 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 () * 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.0001819/1.684, allocations: 106.6 kB / 1.401 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002256/1.686, allocations: 0.9017 MB / 1.402 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.686, allocations: 4 kB / 1.402 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009698/1.687, allocations: 482.2 kB / 1.402 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/1.688, allocations: 115.4 kB / 1.402 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/1.689, allocations: 0.5558 MB / 1.403 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/1.69, allocations: 0.8447 MB / 1.404 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002708/1.69, allocations: 47.25 kB / 1.404 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/1.69, allocations: 23.44 kB / 1.404 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/1.69, allocations: 3.938 kB / 1.404 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of Templates: time 0.02177/1.712, allocations: 11.21 MB / 1.415 GB, free: 6.961 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches