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.324/2.324, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00149/0.00149, allocations: 185 kB / 498.1 MB, free: 5.777 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.683/1.683, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001057/0.001057, allocations: 102.3 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004168, allocations: 10.84 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4055, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/0.6496, allocations: 157.5 MB / 1.377 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.6499, allocations: 95.94 kB / 1.377 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04648/0.6964, allocations: 16.63 MB / 1.393 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6965, allocations: 0 / 1.393 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.6965, allocations: 12 kB / 1.393 GB, free: 3.836 MB / 0.8855 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.001379/0.6979, allocations: 0.7048 MB / 1.394 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.698, allocations: 8.25 kB / 1.394 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09659/0.7945, allocations: 11.08 MB / 1.405 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/0.8102, allocations: 2.504 MB / 1.407 GB, free: 5.43 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.122e-05/0.8104, allocations: 20.56 kB / 1.407 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005101/0.8109, allocations: 28 kB / 1.407 GB, free: 5.383 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005857/0.8168, allocations: 1.515 MB / 1.409 GB, free: 3.852 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.8168, allocations: 0 / 1.409 GB, free: 3.852 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.8169, allocations: 11.98 kB / 1.409 GB, free: 3.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.817, allocations: 8 kB / 1.409 GB, free: 3.832 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005339/0.8223, allocations: 1.282 MB / 1.41 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007135/0.8295, allocations: 5.476 MB / 1.415 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/0.8347, allocations: 1.232 MB / 1.416 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.8349, allocations: 31.98 kB / 1.416 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.8349, allocations: 34.5 kB / 1.416 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 4.408e-06/0.8349, allocations: 0 / 1.416 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22): time 0.0157/0.8506, allocations: 3.507 MB / 1.42 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.8508, allocations: 55.41 kB / 1.42 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.8512, allocations: 288.8 kB / 1.42 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003548/0.8516, allocations: 33.7 kB / 1.42 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.8519, allocations: 208.4 kB / 1.42 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.852, allocations: 70.94 kB / 1.42 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.8522, allocations: 4 kB / 1.42 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8524, allocations: 346.8 kB / 1.421 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/0.8628, allocations: 2.108 MB / 1.423 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/0.8736, allocations: 2.181 MB / 1.425 GB, free: 1.832 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8978/1.771, allocations: 1.944 MB / 1.427 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/1.772, allocations: 3.875 kB / 1.427 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02492/1.796, allocations: 4.335 MB / 1.431 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/1.797, allocations: 183.8 kB / 1.431 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0224/1.819, allocations: 3.637 MB / 1.435 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.617e-05/1.819, allocations: 2.031 kB / 1.435 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009449/1.829, allocations: 0.9458 MB / 1.436 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/1.829, allocations: 1.969 kB / 1.436 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008402/1.837, allocations: 0.8066 MB / 1.437 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004899/1.838, allocations: 76.58 kB / 1.437 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.838, allocations: 5.25 kB / 1.437 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02329/1.861, allocations: 4.273 MB / 1.441 GB, free: 191.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02206/1.883, allocations: 3.635 MB / 1.444 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.883, allocations: 2.125 kB / 1.444 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009003/1.892, allocations: 0.9531 MB / 1.445 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.892, allocations: 4.906 kB / 1.445 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008696/1.901, allocations: 0.7955 MB / 1.446 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005429/1.902, allocations: 74.09 kB / 1.446 GB, free: 190.8 MB / 0.9167 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 () * Number of clocked 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.0008253/1.903, allocations: 219 kB / 1.446 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/1.903, allocations: 37.92 kB / 1.446 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009597/1.912, allocations: 1.978 MB / 1.448 GB, free: 190 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/1.912, allocations: 3.531 kB / 1.448 GB, free: 190 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.912, allocations: 0 / 1.448 GB, free: 190 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.912, allocations: 3.188 kB / 1.448 GB, free: 190 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/1.914, allocations: 1.095 MB / 1.449 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005777/1.92, allocations: 1.374 MB / 1.451 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/1.922, allocations: 328.8 kB / 1.451 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/1.922, allocations: 6.875 kB / 1.451 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.879e-05/1.922, allocations: 26.98 kB / 1.451 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.922, allocations: 3.938 kB / 1.451 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.922, allocations: 0 / 1.451 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005764/1.928, allocations: 1.521 MB / 1.453 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/1.929, allocations: 236.1 kB / 1.453 GB, free: 188 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/1.929, allocations: 7.938 kB / 1.453 GB, free: 188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/1.931, allocations: 241.9 kB / 1.453 GB, free: 188 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/1.931, allocations: 26.34 kB / 1.453 GB, free: 188 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/1.931, allocations: 22.73 kB / 1.453 GB, free: 188 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002535/1.932, allocations: 235.3 kB / 1.453 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/1.932, allocations: 2.844 kB / 1.453 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001729/1.933, allocations: 370.5 kB / 1.454 GB, free: 187.9 MB / 0.9167 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 (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.0004495/1.934, allocations: 201.9 kB / 1.454 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01974/1.954, allocations: 4.475 MB / 1.458 GB, free: 186.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/1.954, allocations: 0 / 1.458 GB, free: 186.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002889/1.956, allocations: 0.7146 MB / 1.459 GB, free: 186.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/1.957, allocations: 85.81 kB / 1.459 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/1.961, allocations: 1.339 MB / 1.46 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/1.961, allocations: 0.8136 MB / 1.461 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004485/1.966, allocations: 0.7068 MB / 1.462 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008858/1.967, allocations: 139.3 kB / 1.462 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.262e-06/1.967, allocations: 0 / 1.462 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of Templates: time 0.05832/2.025, allocations: 37.77 MB / 1.499 GB, free: 148.8 MB / 0.9167 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