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.006939/0.006939, allocations: 102.4 kB / 15.88 MB, free: 5.863 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.001492/0.001492, allocations: 195 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.491/2.491, allocations: 437 MB / 0.7106 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.91 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7298, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003903/0.7337, allocations: 2.878 MB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004108/0.7379, allocations: 2.972 MB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.7381, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.7384, allocations: 61.56 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005073/0.7389, allocations: 190.5 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.7401, allocations: 0.518 MB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005529/0.7407, allocations: 0.5094 MB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.7409, allocations: 98.59 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.7411, allocations: 175.3 kB / 1.025 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.7413, allocations: 211.1 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.7414, allocations: 20 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007209/0.7421, allocations: 379.6 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.7422, allocations: 75.67 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.7424, allocations: 199 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.743, allocations: 0.5339 MB / 1.026 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.743, allocations: 4 kB / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.743, allocations: 0 / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.743, allocations: 0 / 1.026 GB, free: 9.914 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.001104/0.7442, allocations: 0.7402 MB / 1.027 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.7442, allocations: 8.031 kB / 1.027 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09708/0.8413, allocations: 12.21 MB / 1.039 GB, free: 12.89 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.8433, allocations: 0.9285 MB / 1.039 GB, free: 11.92 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.8433, allocations: 24.88 kB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004935/0.8438, allocations: 28.38 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/0.8594, allocations: 3.734 MB / 1.043 GB, free: 8.129 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.8594, allocations: 0 / 1.043 GB, free: 8.129 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.8597, allocations: 12 kB / 1.043 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.8598, allocations: 12 kB / 1.043 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.8736, allocations: 2.961 MB / 1.046 GB, free: 5.141 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.01576/0.8894, allocations: 17.15 MB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/0.9038, allocations: 2.94 MB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01434/0.9182, allocations: 2.792 MB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.9183, allocations: 35.97 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.9184, allocations: 42.5 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.205e-06/0.9184, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0434/0.9618, allocations: 8.551 MB / 1.077 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.9618, allocations: 51.41 kB / 1.077 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.9623, allocations: 337.7 kB / 1.077 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006044/0.9629, allocations: 33.69 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.9632, allocations: 200.3 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00047/0.9637, allocations: 70.91 kB / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/0.9653, allocations: 480.9 kB / 1.078 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9654, allocations: 342.8 kB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01941/0.9848, allocations: 3.897 MB / 1.082 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01974/1.005, allocations: 3.931 MB / 1.086 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03328/1.038, allocations: 6.215 MB / 1.092 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.038, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04273/1.081, allocations: 8.027 MB / 1.1 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/1.081, allocations: 4 kB / 1.1 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0363/1.117, allocations: 7.306 MB / 1.107 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/1.117, allocations: 0 / 1.107 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0144/1.132, allocations: 1.916 MB / 1.109 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/1.132, allocations: 4 kB / 1.109 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/1.145, allocations: 1.51 MB / 1.11 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008985/1.146, allocations: 203.5 kB / 1.111 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01977/1.165, allocations: 3.989 MB / 1.114 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01923/1.185, allocations: 3.926 MB / 1.118 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03198/1.217, allocations: 6.192 MB / 1.124 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/1.217, allocations: 3.938 kB / 1.124 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03985/1.257, allocations: 8.029 MB / 1.132 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.257, allocations: 8.922 kB / 1.132 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03639/1.293, allocations: 7.287 MB / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.293, allocations: 0 / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/1.307, allocations: 1.916 MB / 1.141 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.308, allocations: 0 / 1.141 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/1.321, allocations: 1.498 MB / 1.143 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008772/1.322, allocations: 203.5 kB / 1.143 GB, free: 14.33 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001185/1.323, allocations: 196.7 kB / 1.143 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006427/1.323, allocations: 35.53 kB / 1.143 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.033/1.357, allocations: 6.699 MB / 1.15 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/1.357, allocations: 8 kB / 1.15 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.357, allocations: 0 / 1.15 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.357, allocations: 0 / 1.15 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006179/1.363, allocations: 6.491 MB / 1.156 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02869/1.391, allocations: 5.633 MB / 1.161 GB, free: 9.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01201/1.404, allocations: 1.631 MB / 1.163 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/1.404, allocations: 0 / 1.163 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006533/1.404, allocations: 175.5 kB / 1.163 GB, free: 7.945 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/1.404, allocations: 0 / 1.163 GB, free: 7.945 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.404, allocations: 0 / 1.163 GB, free: 7.945 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02809/1.432, allocations: 5.771 MB / 1.169 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.434, allocations: 0.5623 MB / 1.169 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006559/1.434, allocations: 4 kB / 1.169 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01086/1.445, allocations: 1.257 MB / 1.171 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.446, allocations: 39.91 kB / 1.171 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006603/1.446, allocations: 175.5 kB / 1.171 GB, free: 100 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003277/1.447, allocations: 239.2 kB / 1.171 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.765e-06/1.447, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003013/1.45, allocations: 0.605 MB / 1.172 GB, free: 15.26 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006728/1.45, allocations: 163.1 kB / 1.172 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.04966/1.5, allocations: 10.3 MB / 1.182 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.5, allocations: 0 / 1.182 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01408/1.514, allocations: 2.9 MB / 1.185 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.516, allocations: 87.45 kB / 1.185 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.53, allocations: 3.399 MB / 1.188 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/1.531, allocations: 0.7962 MB / 1.189 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003723/1.534, allocations: 0.5528 MB / 1.189 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of SimCode: time 1.793e-06/1.534, allocations: 0 / 1.189 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of Templates: time 0.05633/1.591, allocations: 37.16 MB / 1.226 GB, free: 7.664 MB / 0.9825 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/jenkins1/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