Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.00122/0.00122, allocations: 186.3 kB / 496.1 MB, free: 12.86 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.617/1.617, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.001019/0.001019, allocations: 103.7 kB / 0.9318 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.244e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3775, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.521, allocations: 158.3 MB / 1.373 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/1.522, allocations: 97.92 kB / 1.373 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05039/1.572, allocations: 16.6 MB / 1.39 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.142e-06/1.572, allocations: 0 / 1.39 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.366e-05/1.572, allocations: 8 kB / 1.39 GB, free: 13.57 MB / 0.8542 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.001377/1.574, allocations: 0.6464 MB / 1.39 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.574, allocations: 12.03 kB / 1.39 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09783/1.672, allocations: 11.06 MB / 1.401 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/1.688, allocations: 2.496 MB / 1.404 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/1.688, allocations: 27.12 kB / 1.404 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006825/1.689, allocations: 27.31 kB / 1.404 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/1.691, allocations: 0.9562 MB / 1.404 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/1.691, allocations: 0 / 1.404 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/1.691, allocations: 11.62 kB / 1.405 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/1.691, allocations: 12 kB / 1.405 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/1.693, allocations: 0.7097 MB / 1.405 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008372/1.701, allocations: 5.477 MB / 1.411 GB, free: 9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.702, allocations: 0.677 MB / 1.411 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00092/1.703, allocations: 0.5296 MB / 1.412 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/1.703, allocations: 39.7 kB / 1.412 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/1.703, allocations: 37.95 kB / 1.412 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/1.703, allocations: 4 kB / 1.412 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22): time 0.002536/1.706, allocations: 1.108 MB / 1.413 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/1.706, allocations: 51.41 kB / 1.413 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/1.706, allocations: 293.1 kB / 1.413 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002658/1.707, allocations: 33.45 kB / 1.413 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/1.707, allocations: 190.7 kB / 1.413 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/1.707, allocations: 85.64 kB / 1.414 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/1.707, allocations: 0 / 1.414 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.707, allocations: 348.2 kB / 1.414 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/1.709, allocations: 1.062 MB / 1.415 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/1.711, allocations: 1.123 MB / 1.416 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/1.712, allocations: 0.91 MB / 1.417 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.713, allocations: 0 / 1.417 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004419/1.717, allocations: 2.225 MB / 1.419 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.717, allocations: 189.7 kB / 1.419 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003434/1.721, allocations: 1.861 MB / 1.421 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/1.721, allocations: 0 / 1.421 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0089/1.729, allocations: 0.9503 MB / 1.422 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/1.73, allocations: 4 kB / 1.422 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008376/1.738, allocations: 0.8011 MB / 1.423 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004344/1.738, allocations: 71.62 kB / 1.423 GB, free: 428 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.738, allocations: 4 kB / 1.423 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004971/1.743, allocations: 2.178 MB / 1.425 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003832/1.747, allocations: 1.863 MB / 1.427 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.747, allocations: 4 kB / 1.427 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008764/1.756, allocations: 0.9481 MB / 1.428 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/1.756, allocations: 7.891 kB / 1.428 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008722/1.765, allocations: 0.8035 MB / 1.429 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004767/1.765, allocations: 68.08 kB / 1.429 GB, free: 10.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0006568/1.766, allocations: 120.9 kB / 1.429 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/1.766, allocations: 31.62 kB / 1.429 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/1.771, allocations: 1.363 MB / 1.43 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.771, allocations: 4 kB / 1.43 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.771, allocations: 3.953 kB / 1.43 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.771, allocations: 0 / 1.43 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/1.772, allocations: 1.082 MB / 1.431 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001519/1.774, allocations: 0.7672 MB / 1.432 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/1.777, allocations: 327.6 kB / 1.432 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/1.777, allocations: 0 / 1.432 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.971e-05/1.777, allocations: 31.95 kB / 1.432 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/1.777, allocations: 3.953 kB / 1.432 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.777, allocations: 0 / 1.432 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/1.779, allocations: 0.9013 MB / 1.433 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/1.779, allocations: 240.3 kB / 1.433 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.779, allocations: 7.938 kB / 1.433 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/1.782, allocations: 239.8 kB / 1.434 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.782, allocations: 35.78 kB / 1.434 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.584e-05/1.782, allocations: 35.95 kB / 1.434 GB, free: 5.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003158/1.782, allocations: 218.2 kB / 1.434 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/1.782, allocations: 0 / 1.434 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001809/1.784, allocations: 375.6 kB / 1.434 GB, free: 4.758 MB / 0.8855 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.0006056/1.785, allocations: 195 kB / 1.434 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005285/1.79, allocations: 2.408 MB / 1.437 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.79, allocations: 0 / 1.437 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007699/1.791, allocations: 431.5 kB / 1.437 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/1.792, allocations: 73.98 kB / 1.437 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/1.793, allocations: 0.66 MB / 1.438 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/1.794, allocations: 0.8046 MB / 1.439 GB, free: 148 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004651/1.798, allocations: 0.7191 MB / 1.439 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/1.799, allocations: 131.2 kB / 1.439 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.823e-06/1.799, allocations: 0 / 1.439 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.0761/1.875, allocations: 38.44 MB / 1.477 GB, free: 8.734 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches