Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009604/0.0009605, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.754/2.754, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.000416, allocations: 16 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9851/0.9856, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.001837/0.9875, allocations: 1.491 MB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.9885, allocations: 0.6631 MB / 0.9556 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.9886, allocations: 1.906 kB / 0.9556 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.9886, allocations: 12.77 kB / 0.9556 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.9888, allocations: 44.58 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.989, allocations: 62.72 kB / 0.9557 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.9893, allocations: 95.86 kB / 0.9558 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.9894, allocations: 26.12 kB / 0.9558 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.9895, allocations: 43.28 kB / 0.9559 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.9896, allocations: 48.66 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.9896, allocations: 4.125 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.9897, allocations: 14 kB / 0.9559 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.9897, allocations: 14.08 kB / 0.956 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.9898, allocations: 43.48 kB / 0.956 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.9899, allocations: 86.61 kB / 0.9561 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.9899, allocations: 0 / 0.9561 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9899, allocations: 1.219 kB / 0.9561 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.9899, allocations: 0 / 0.9561 GB, free: 6.078 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004563/0.9904, allocations: 397 kB / 0.9565 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.9904, allocations: 8.688 kB / 0.9565 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.9905, allocations: 14.36 kB / 0.9565 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.9906, allocations: 198.3 kB / 0.9567 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.9907, allocations: 7.062 kB / 0.9567 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.9907, allocations: 12.62 kB / 0.9567 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.9909, allocations: 101.3 kB / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.9909, allocations: 0 / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.9909, allocations: 5.062 kB / 0.9568 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.9909, allocations: 2.156 kB / 0.9568 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.9912, allocations: 71.41 kB / 0.9569 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.9916, allocations: 372.9 kB / 0.9572 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.9918, allocations: 65.36 kB / 0.9573 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.9919, allocations: 0 / 0.9573 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.073e-05/0.9919, allocations: 31.69 kB / 0.9573 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.9919, allocations: 0 / 0.9573 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00036/0.9922, allocations: 110.2 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.9923, allocations: 52.72 kB / 0.9575 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.9924, allocations: 155.6 kB / 0.9576 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.9924, allocations: 25.7 kB / 0.9576 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.9925, allocations: 116.5 kB / 0.9578 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.876e-06/0.9925, allocations: 9.25 kB / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.9925, allocations: 1.5 kB / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.9926, allocations: 327.6 kB / 0.9581 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.9927, allocations: 28.33 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.9927, allocations: 27.66 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.711e-05/0.9928, allocations: 31.55 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9928, allocations: 0 / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001995/0.9931, allocations: 88.47 kB / 0.9582 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.9931, allocations: 93.84 kB / 0.9583 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9931, allocations: 3.984 kB / 0.9583 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9931, allocations: 1.859 kB / 0.9583 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.9932, allocations: 17.84 kB / 0.9584 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.9932, allocations: 1.781 kB / 0.9584 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.9933, allocations: 13.69 kB / 0.9584 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.9933, allocations: 1.75 kB / 0.9584 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.9933, allocations: 5.438 kB / 0.9584 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000176/0.9935, allocations: 63.17 kB / 0.9584 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-06/0.9935, allocations: 0 / 0.9584 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.9935, allocations: 0 / 0.9584 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.9936, allocations: 19.98 kB / 0.9585 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-06/0.9936, allocations: 7.938 kB / 0.9585 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.9937, allocations: 10.5 kB / 0.9585 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-06/0.9937, allocations: 0.9688 kB / 0.9585 GB, free: 3.891 MB / 0.7169 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/0.9937, allocations: 189.7 kB / 0.9587 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.9938, allocations: 16.38 kB / 0.9587 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.994, allocations: 96.81 kB / 0.9588 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.994, allocations: 1.531 kB / 0.9588 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9941, allocations: 0 / 0.9588 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9941, allocations: 3.984 kB / 0.9588 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.9942, allocations: 190.3 kB / 0.9589 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.9942, allocations: 4 kB / 0.959 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.9943, allocations: 12.89 kB / 0.959 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.9943, allocations: 9.453 kB / 0.959 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.9943, allocations: 0 / 0.959 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.9943, allocations: 0 / 0.959 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.9943, allocations: 1.5 kB / 0.959 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.9945, allocations: 185.7 kB / 0.9592 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.9946, allocations: 92.56 kB / 0.9592 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.9946, allocations: 3.953 kB / 0.9592 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.9947, allocations: 11.17 kB / 0.9593 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.9947, allocations: 1.781 kB / 0.9593 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.9948, allocations: 3.938 kB / 0.9593 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.925e-05/0.9948, allocations: 120 kB / 0.9594 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9948, allocations: 4 kB / 0.9594 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002969/0.9951, allocations: 35.16 kB / 0.9594 GB, free: 3 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001415/0.9953, allocations: 103.9 kB / 0.9595 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.9956, allocations: 86.88 kB / 0.9596 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9956, allocations: 0 / 0.9596 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.9957, allocations: 25.86 kB / 0.9596 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.996, allocations: 24.36 kB / 0.9596 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.9964, allocations: 253.7 kB / 0.9599 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.9966, allocations: 0.7066 MB / 0.9606 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.9966, allocations: 12.67 kB / 0.9606 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.9966, allocations: 12.03 kB / 0.9606 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9966, allocations: 0 / 0.9606 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of Templates: time 0.00386/1, allocations: 1.192 MB / 0.9618 GB, free: 1.32 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches