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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 99.78 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.001382/0.001382, 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.384/1.384, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.612/2.612, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 16 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6717, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002525/0.6743, allocations: 2.272 MB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003789/0.6781, allocations: 2.591 MB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.6783, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.6785, allocations: 55.66 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.679, allocations: 219.3 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.6802, allocations: 0.4939 MB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.6808, allocations: 387.1 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.681, allocations: 78.06 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.6812, allocations: 175.3 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.6814, allocations: 191.2 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.6815, allocations: 20 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.6822, allocations: 375.7 kB / 1.027 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.6823, allocations: 67.75 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.6824, allocations: 97.45 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.683, allocations: 0.5162 MB / 1.028 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.683, allocations: 0 / 1.028 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.683, allocations: 0 / 1.028 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.683, allocations: 4 kB / 1.028 GB, free: 9.531 MB / 0.7794 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.0009475/0.684, allocations: 0.6854 MB / 1.029 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.684, allocations: 11.98 kB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0891/0.7731, allocations: 10.59 MB / 1.039 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.7753, allocations: 0.9197 MB / 1.04 GB, free: 13.22 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.7754, allocations: 20.5 kB / 1.04 GB, free: 13.2 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000472/0.7759, allocations: 28 kB / 1.04 GB, free: 13.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.7909, allocations: 3.566 MB / 1.044 GB, free: 9.598 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.791, allocations: 0 / 1.044 GB, free: 9.598 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.7912, allocations: 15.94 kB / 1.044 GB, free: 9.582 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.7913, allocations: 11.98 kB / 1.044 GB, free: 9.57 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.8049, allocations: 2.793 MB / 1.046 GB, free: 6.777 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.8206, allocations: 17.16 MB / 1.063 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.834, allocations: 2.758 MB / 1.066 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.8342, allocations: 35.97 kB / 1.066 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.8342, allocations: 30.56 kB / 1.066 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 3.176e-06/0.8342, allocations: 0 / 1.066 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.04367/0.8779, allocations: 8.27 MB / 1.074 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.8779, allocations: 51.41 kB / 1.074 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.8784, allocations: 345.7 kB / 1.074 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000642/0.879, allocations: 29.7 kB / 1.074 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.8792, allocations: 196.4 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.8796, allocations: 74.95 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.8801, allocations: 8 kB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.8803, allocations: 342.8 kB / 1.075 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01988/0.9002, allocations: 3.634 MB / 1.078 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01938/0.9196, allocations: 3.677 MB / 1.082 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01897/0.9386, allocations: 3.357 MB / 1.085 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.9387, allocations: 3.953 kB / 1.085 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04016/0.9789, allocations: 7.524 MB / 1.093 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.929e-05/0.979, allocations: 97.22 kB / 1.093 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03563/1.015, allocations: 6.838 MB / 1.099 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/1.015, allocations: 0 / 1.099 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/1.029, allocations: 1.697 MB / 1.101 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.029, allocations: 0 / 1.101 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01282/1.042, allocations: 1.288 MB / 1.102 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007383/1.042, allocations: 203.5 kB / 1.103 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.043, allocations: 4 kB / 1.103 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03898/1.081, allocations: 7.474 MB / 1.11 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03536/1.117, allocations: 6.842 MB / 1.117 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.117, allocations: 4 kB / 1.117 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/1.131, allocations: 1.693 MB / 1.118 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.131, allocations: 4 kB / 1.118 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/1.144, allocations: 1.276 MB / 1.119 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008876/1.145, allocations: 211.5 kB / 1.12 GB, free: 7.922 MB / 0.8731 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 (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.001219/1.146, allocations: 217.1 kB / 1.12 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/1.146, allocations: 35.53 kB / 1.12 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03207/1.178, allocations: 6.363 MB / 1.126 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.179, allocations: 11.92 kB / 1.126 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.179, allocations: 0 / 1.126 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.179, allocations: 0 / 1.126 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00574/1.184, allocations: 6.484 MB / 1.132 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02839/1.213, allocations: 5.286 MB / 1.138 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01171/1.224, allocations: 1.447 MB / 1.139 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/1.225, allocations: 7.953 kB / 1.139 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004865/1.225, allocations: 171.5 kB / 1.139 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.225, allocations: 4 kB / 1.139 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.225, allocations: 0 / 1.139 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02755/1.253, allocations: 5.436 MB / 1.145 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.254, allocations: 0.5623 MB / 1.145 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005748/1.255, allocations: 7.953 kB / 1.145 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01061/1.265, allocations: 1.081 MB / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/1.265, allocations: 43.91 kB / 1.146 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005638/1.266, allocations: 179.5 kB / 1.146 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002822/1.266, allocations: 231.2 kB / 1.147 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.266, allocations: 0 / 1.147 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002985/1.269, allocations: 0.5934 MB / 1.147 GB, free: 10.21 MB / 0.9044 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 (34): * Single equations (assignments): 34 * 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.0007018/1.27, allocations: 171 kB / 1.147 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.04981/1.32, allocations: 9.664 MB / 1.157 GB, free: 372 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.32, allocations: 0 / 1.157 GB, free: 372 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/1.334, allocations: 2.736 MB / 1.159 GB, free: 13.62 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/1.335, allocations: 77.45 kB / 1.16 GB, free: 13.54 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.349, allocations: 3.185 MB / 1.163 GB, free: 10.33 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/1.35, allocations: 0.8079 MB / 1.163 GB, free: 9.496 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.01163/1.361, allocations: 1.638 MB / 1.165 GB, free: 7.863 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002934/1.364, allocations: 0.4982 MB / 1.165 GB, free: 7.363 MB / 0.92 GB Notification: Performance of SimCode: time 1.112e-06/1.364, allocations: 0 / 1.165 GB, free: 7.363 MB / 0.92 GB Notification: Performance of Templates: time 0.1227/1.487, allocations: 79.25 MB / 1.243 GB, free: 7.871 MB / 0.9981 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