Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001187/0.001187, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.00177/0.00177, allocations: 168.7 kB / 15.95 MB, free: 204 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.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 437.8 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004932, allocations: 8 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7239/0.7244, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003701/0.7281, allocations: 2.412 MB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.7326, allocations: 2.706 MB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.733, allocations: 4 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.7333, allocations: 59.59 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008457/0.7342, allocations: 188.8 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.7359, allocations: 486.5 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008795/0.7368, allocations: 0.4899 MB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.737, allocations: 93.94 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.7374, allocations: 163.4 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.7377, allocations: 191.2 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-05/0.7378, allocations: 20 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.7389, allocations: 359.6 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.982e-05/0.739, allocations: 75.62 kB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.7393, allocations: 93.52 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009375/0.7402, allocations: 0.5221 MB / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.7402, allocations: 4 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7402, allocations: 0 / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.03e-05/0.7403, allocations: 0 / 1.03 GB, free: 8.152 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.001409/0.7417, allocations: 0.6816 MB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.7417, allocations: 8.562 kB / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08172/0.8235, allocations: 10.59 MB / 1.041 GB, free: 12.81 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.8255, allocations: 0.9119 MB / 1.042 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.8256, allocations: 28.5 kB / 1.042 GB, free: 11.83 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007757/0.8264, allocations: 24 kB / 1.042 GB, free: 11.81 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.8407, allocations: 3.566 MB / 1.045 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.8408, allocations: 0 / 1.045 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003302/0.8411, allocations: 16 kB / 1.046 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.8411, allocations: 4 kB / 1.046 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.8536, allocations: 2.797 MB / 1.048 GB, free: 5.414 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.01954/0.8732, allocations: 17.16 MB / 1.065 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.8859, allocations: 2.762 MB / 1.068 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01216/0.8981, allocations: 2.62 MB / 1.07 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.8982, allocations: 35.97 kB / 1.07 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.8983, allocations: 38.55 kB / 1.07 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 3.997e-06/0.8983, allocations: 0 / 1.07 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.03897/0.9373, allocations: 8.032 MB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.9374, allocations: 59.39 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.9378, allocations: 337.6 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006315/0.9384, allocations: 29.7 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.9387, allocations: 204.3 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/0.9393, allocations: 74.98 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.9398, allocations: 0 / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9399, allocations: 346.8 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01699/0.9569, allocations: 3.638 MB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01653/0.9735, allocations: 3.673 MB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/0.9898, allocations: 3.357 MB / 1.09 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.9899, allocations: 7.875 kB / 1.09 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03504/1.025, allocations: 7.521 MB / 1.097 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.492e-05/1.025, allocations: 95.25 kB / 1.097 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02986/1.055, allocations: 6.834 MB / 1.104 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/1.055, allocations: 4 kB / 1.104 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/1.067, allocations: 1.693 MB / 1.105 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.099e-05/1.067, allocations: 3.984 kB / 1.105 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01664/1.084, allocations: 1.295 MB / 1.107 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009341/1.085, allocations: 203.5 kB / 1.107 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.085, allocations: 4 kB / 1.107 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03638/1.121, allocations: 7.478 MB / 1.114 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03092/1.152, allocations: 6.838 MB / 1.121 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.152, allocations: 0 / 1.121 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/1.165, allocations: 1.693 MB / 1.122 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.165, allocations: 0 / 1.122 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/1.176, allocations: 1.284 MB / 1.124 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009846/1.177, allocations: 203.5 kB / 1.124 GB, free: 4.211 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.0008011/1.178, allocations: 225 kB / 1.124 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/1.178, allocations: 35.58 kB / 1.124 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0287/1.207, allocations: 6.343 MB / 1.13 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.207, allocations: 4 kB / 1.13 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/1.207, allocations: 4 kB / 1.13 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.207, allocations: 0 / 1.13 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/1.213, allocations: 6.495 MB / 1.137 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0243/1.237, allocations: 5.282 MB / 1.142 GB, free: 316 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0104/1.248, allocations: 1.455 MB / 1.143 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/1.248, allocations: 3.953 kB / 1.143 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005435/1.248, allocations: 171.5 kB / 1.143 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/1.248, allocations: 4 kB / 1.143 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.248, allocations: 0 / 1.143 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/1.273, allocations: 5.431 MB / 1.149 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.274, allocations: 0.5622 MB / 1.149 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003876/1.274, allocations: 11.95 kB / 1.149 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009268/1.283, allocations: 1.081 MB / 1.15 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.284, allocations: 43.89 kB / 1.15 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005431/1.284, allocations: 175.5 kB / 1.151 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000329/1.285, allocations: 235.2 kB / 1.151 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/1.285, allocations: 0 / 1.151 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002672/1.287, allocations: 0.5933 MB / 1.151 GB, free: 6.508 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.0005453/1.288, allocations: 179.1 kB / 1.152 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.04475/1.333, allocations: 9.664 MB / 1.161 GB, free: 12.65 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.333, allocations: 0 / 1.161 GB, free: 12.65 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01254/1.345, allocations: 2.736 MB / 1.164 GB, free: 9.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/1.346, allocations: 77.52 kB / 1.164 GB, free: 9.836 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.359, allocations: 3.193 MB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/1.36, allocations: 0.7923 MB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.01136/1.371, allocations: 1.642 MB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002806/1.374, allocations: 0.4982 MB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of SimCode: time 1.072e-06/1.374, allocations: 3.938 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of Templates: time 0.1355/1.509, allocations: 79.27 MB / 1.247 GB, free: 4.141 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches