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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001656/0.001655, allocations: 172.7 kB / 15.95 MB, free: 208 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.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004275, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8334, allocations: 142.4 MB / 0.9544 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003177/0.8366, allocations: 2.406 MB / 0.9568 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004053/0.8407, allocations: 2.72 MB / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.8411, allocations: 2.938 kB / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.8415, allocations: 51.73 kB / 0.9595 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007707/0.8422, allocations: 187.1 kB / 0.9597 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.8439, allocations: 498.2 kB / 0.9602 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007657/0.8447, allocations: 493.1 kB / 0.9606 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.8449, allocations: 88.53 kB / 0.9607 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.8453, allocations: 167.4 kB / 0.9609 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.8456, allocations: 185.9 kB / 0.961 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.8457, allocations: 19.81 kB / 0.9611 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009926/0.8467, allocations: 365 kB / 0.9614 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.8468, allocations: 67.09 kB / 0.9615 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.847, allocations: 97.3 kB / 0.9616 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007916/0.8478, allocations: 0.5178 MB / 0.9621 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8478, allocations: 0.9688 kB / 0.9621 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8478, allocations: 0 / 0.9621 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.8479, allocations: 4 kB / 0.9621 GB, free: 1.977 MB / 0.7169 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.001196/0.8491, allocations: 0.6863 MB / 0.9628 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.8491, allocations: 8.906 kB / 0.9628 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08106/0.9302, allocations: 10.6 MB / 0.9731 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.9325, allocations: 0.9158 MB / 0.974 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.9325, allocations: 24.55 kB / 0.974 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008253/0.9334, allocations: 24 kB / 0.9741 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/0.948, allocations: 3.562 MB / 0.9775 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.9481, allocations: 4 kB / 0.9775 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/0.9485, allocations: 8 kB / 0.9775 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.9485, allocations: 8 kB / 0.9776 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.9612, allocations: 2.805 MB / 0.9803 GB, free: 4.902 MB / 0.7325 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.01791/0.9791, allocations: 17.14 MB / 0.997 GB, free: 192 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.9917, allocations: 2.768 MB / 0.9997 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01237/1.004, allocations: 2.628 MB / 1.002 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/1.004, allocations: 31.98 kB / 1.002 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.004, allocations: 38.55 kB / 1.002 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/1.004, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.03841/1.043, allocations: 8.037 MB / 1.01 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/1.043, allocations: 55.41 kB / 1.01 GB, free: 2.586 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/1.043, allocations: 337.6 kB / 1.011 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006328/1.044, allocations: 29.7 kB / 1.011 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/1.044, allocations: 208.3 kB / 1.011 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/1.044, allocations: 67.02 kB / 1.011 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/1.045, allocations: 0 / 1.011 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.045, allocations: 346.8 kB / 1.011 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01753/1.062, allocations: 3.634 MB / 1.015 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01738/1.08, allocations: 3.682 MB / 1.018 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/1.096, allocations: 3.35 MB / 1.022 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/1.096, allocations: 0 / 1.022 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03441/1.131, allocations: 7.527 MB / 1.029 GB, free: 15.37 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/1.131, allocations: 97.17 kB / 1.029 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03135/1.162, allocations: 6.842 MB / 1.036 GB, free: 8.418 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/1.162, allocations: 4 kB / 1.036 GB, free: 8.414 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/1.175, allocations: 1.689 MB / 1.037 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/1.175, allocations: 3.984 kB / 1.037 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/1.186, allocations: 1.291 MB / 1.039 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.187, allocations: 203.5 kB / 1.039 GB, free: 5.227 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.187, allocations: 4 kB / 1.039 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03441/1.222, allocations: 7.47 MB / 1.046 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03061/1.253, allocations: 6.835 MB / 1.053 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/1.253, allocations: 0 / 1.053 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01226/1.265, allocations: 1.693 MB / 1.054 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.265, allocations: 4 kB / 1.054 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/1.276, allocations: 1.28 MB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.278, allocations: 207.5 kB / 1.056 GB, free: 3.723 MB / 0.8106 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.001131/1.279, allocations: 221.1 kB / 1.056 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/1.279, allocations: 43.5 kB / 1.056 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02818/1.307, allocations: 6.34 MB / 1.062 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.307, allocations: 7.938 kB / 1.062 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.307, allocations: 3.938 kB / 1.062 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.307, allocations: 0 / 1.062 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/1.314, allocations: 6.499 MB / 1.069 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02478/1.338, allocations: 5.282 MB / 1.074 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01046/1.349, allocations: 1.451 MB / 1.075 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/1.349, allocations: 3.984 kB / 1.075 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000538/1.35, allocations: 171.5 kB / 1.075 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.405e-06/1.35, allocations: 7.984 kB / 1.075 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.35, allocations: 0 / 1.075 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02445/1.374, allocations: 5.432 MB / 1.081 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.375, allocations: 0.5623 MB / 1.081 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/1.376, allocations: 7.984 kB / 1.081 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009266/1.385, allocations: 1.077 MB / 1.082 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/1.385, allocations: 47.84 kB / 1.082 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006135/1.386, allocations: 171.5 kB / 1.083 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002813/1.386, allocations: 235.2 kB / 1.083 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.386, allocations: 0 / 1.083 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002599/1.389, allocations: 0.6011 MB / 1.083 GB, free: 6.004 MB / 0.8419 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.0005235/1.389, allocations: 170.9 kB / 1.084 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.04458/1.434, allocations: 9.663 MB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.434, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01266/1.446, allocations: 2.732 MB / 1.096 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/1.447, allocations: 89.33 kB / 1.096 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.46, allocations: 3.193 MB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/1.461, allocations: 0.7923 MB / 1.1 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.01091/1.472, allocations: 1.646 MB / 1.101 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002582/1.474, allocations: 0.4943 MB / 1.102 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of SimCode: time 9.82e-07/1.474, allocations: 0 / 1.102 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of Templates: time 0.1234/1.598, allocations: 79.26 MB / 1.179 GB, free: 3.648 MB / 0.9356 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches