Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conVer.hCon|conCei.hCon|conFlo.hCon|conVer.q_flow|conCei.q_flow|conFlo.q_flow|conVer.Ra|conCei.Ra|conFlo.Ra|conVer.Nu|conCei.Nu|conFlo.Nu",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conVer.hCon|conCei.hCon|conFlo.hCon|conVer.q_flow|conCei.q_flow|conFlo.q_flow|conVer.Ra|conCei.Ra|conFlo.Ra|conVer.Nu|conCei.Nu|conFlo.Nu",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.009/2.009, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001093/0.001093, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.345/1.345, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008678/0.0008677, allocations: 101 kB / 0.9219 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.778e-05/1.78e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2204, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7529/0.9734, allocations: 156.8 MB / 1.359 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.9736, allocations: 88.42 kB / 1.359 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0391/1.013, allocations: 16.44 MB / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/1.013, allocations: 0 / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.859e-05/1.013, allocations: 7.625 kB / 1.375 GB, free: 32.78 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008973/1.014, allocations: 0.6494 MB / 1.376 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.014, allocations: 7.656 kB / 1.376 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.089/1.103, allocations: 11.06 MB / 1.387 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/1.117, allocations: 2.495 MB / 1.389 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/1.117, allocations: 7.812 kB / 1.389 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/1.117, allocations: 15.28 kB / 1.389 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008518/1.118, allocations: 0.7014 MB / 1.39 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/1.119, allocations: 0.9247 MB / 1.391 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.119, allocations: 0 / 1.391 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.119, allocations: 0 / 1.391 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/1.119, allocations: 3.844 kB / 1.391 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004095/1.123, allocations: 5.428 MB / 1.396 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/1.124, allocations: 0.6916 MB / 1.397 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/1.124, allocations: 0.5342 MB / 1.397 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/1.125, allocations: 36.3 kB / 1.397 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/1.125, allocations: 37.48 kB / 1.397 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/1.125, allocations: 0 / 1.397 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.005806/1.13, allocations: 1.86 MB / 1.399 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/1.13, allocations: 58.34 kB / 1.399 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/1.131, allocations: 237.9 kB / 1.399 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001875/1.131, allocations: 29.55 kB / 1.399 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/1.131, allocations: 202.1 kB / 1.4 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/1.131, allocations: 76.94 kB / 1.4 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/1.131, allocations: 0 / 1.4 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.131, allocations: 340.9 kB / 1.4 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/1.133, allocations: 1.053 MB / 1.401 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/1.134, allocations: 1.126 MB / 1.402 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009917/1.144, allocations: 2.441 MB / 1.405 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.144, allocations: 0 / 1.405 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01198/1.156, allocations: 3.749 MB / 1.408 GB, free: 16.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/1.156, allocations: 93 kB / 1.408 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01107/1.167, allocations: 3.34 MB / 1.412 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/1.167, allocations: 3.953 kB / 1.412 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007894/1.175, allocations: 0.9503 MB / 1.412 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/1.175, allocations: 4 kB / 1.412 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00741/1.182, allocations: 0.7878 MB / 1.413 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/1.183, allocations: 75 kB / 1.413 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.183, allocations: 4 kB / 1.413 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01264/1.195, allocations: 3.694 MB / 1.417 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01138/1.207, allocations: 3.333 MB / 1.42 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.207, allocations: 4 kB / 1.42 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007896/1.215, allocations: 0.9437 MB / 1.421 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/1.215, allocations: 4 kB / 1.421 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007347/1.222, allocations: 0.7792 MB / 1.422 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/1.222, allocations: 70.77 kB / 1.422 GB, free: 5.09 MB / 0.8386 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 (37): * Single equations (assignments): 37 * 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 0.0003894/1.223, allocations: 116.9 kB / 1.422 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.223, allocations: 27.62 kB / 1.422 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006018/1.229, allocations: 1.788 MB / 1.424 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.229, allocations: 4 kB / 1.424 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.229, allocations: 3.938 kB / 1.424 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.229, allocations: 8 kB / 1.424 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/1.23, allocations: 1.038 MB / 1.425 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003504/1.233, allocations: 1.188 MB / 1.426 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002646/1.236, allocations: 327.5 kB / 1.426 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/1.236, allocations: 3.938 kB / 1.426 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.088e-05/1.236, allocations: 27.95 kB / 1.426 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.236, allocations: 0 / 1.426 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.236, allocations: 0 / 1.426 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/1.24, allocations: 1.332 MB / 1.428 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/1.24, allocations: 234.1 kB / 1.428 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.24, allocations: 3.938 kB / 1.428 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/1.243, allocations: 239.2 kB / 1.428 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/1.243, allocations: 19.97 kB / 1.428 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/1.243, allocations: 31.91 kB / 1.428 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000192/1.243, allocations: 187.1 kB / 1.428 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.1e-07/1.243, allocations: 0 / 1.428 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001508/1.245, allocations: 363.5 kB / 1.429 GB, free: 15.24 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 (36): * Single equations (assignments): 36 * 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.0004008/1.245, allocations: 186.4 kB / 1.429 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003363/1.248, allocations: 2.39 MB / 1.431 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.248, allocations: 0 / 1.431 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005449/1.249, allocations: 410.8 kB / 1.432 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/1.249, allocations: 59.45 kB / 1.432 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/1.25, allocations: 0.6427 MB / 1.432 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/1.251, allocations: 0.8118 MB / 1.433 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004084/1.255, allocations: 0.7224 MB / 1.434 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008419/1.256, allocations: 130 kB / 1.434 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/1.256, allocations: 0 / 1.434 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.05243/1.308, allocations: 36.32 MB / 1.469 GB, free: 6.762 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches