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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00931/0.00931, allocations: 99.75 kB / 15.73 MB, free: 6.445 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.001742/0.001742, allocations: 195.1 kB / 16.67 MB, free: 6.352 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.791/2.791, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.388, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004436/0.3924, allocations: 2.835 MB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005055/0.3975, allocations: 2.944 MB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.3979, allocations: 8 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.3984, allocations: 83.28 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.3992, allocations: 214.3 kB / 1.173 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.401, allocations: 0.6111 MB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.4021, allocations: 0.5291 MB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.4024, allocations: 115.1 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004119/0.4028, allocations: 207.3 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.4031, allocations: 215.1 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.474e-05/0.4032, allocations: 36 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009257/0.4042, allocations: 391.6 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4043, allocations: 95.67 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.4046, allocations: 218.9 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.4059, allocations: 0.7279 MB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4059, allocations: 0 / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4059, allocations: 0 / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.122e-05/0.4059, allocations: 0 / 1.176 GB, free: 13.52 MB / 0.9356 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.001459/0.4074, allocations: 0.7702 MB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4074, allocations: 12.03 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09513/0.5026, allocations: 12.21 MB / 1.188 GB, free: 472 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.5049, allocations: 0.9327 MB / 1.189 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.505, allocations: 16.94 kB / 1.189 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008813/0.5059, allocations: 28.38 kB / 1.189 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.5222, allocations: 3.746 MB / 1.193 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5222, allocations: 0 / 1.193 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004253/0.5227, allocations: 8 kB / 1.193 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.5227, allocations: 8 kB / 1.193 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.537, allocations: 2.961 MB / 1.196 GB, free: 8.703 MB / 0.9512 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.01781/0.5549, allocations: 17.16 MB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.5692, allocations: 2.942 MB / 1.215 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01418/0.5834, allocations: 2.788 MB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.5836, allocations: 35.97 kB / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.5837, allocations: 38.56 kB / 1.218 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 2.545e-06/0.5837, allocations: 0 / 1.218 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.04469/0.6284, allocations: 8.547 MB / 1.227 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.6285, allocations: 55.39 kB / 1.227 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.629, allocations: 341.7 kB / 1.227 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007564/0.6297, allocations: 29.7 kB / 1.227 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.6301, allocations: 200.7 kB / 1.227 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/0.6306, allocations: 83.25 kB / 1.227 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/0.6326, allocations: 476.9 kB / 1.228 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6327, allocations: 342.8 kB / 1.228 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01841/0.6511, allocations: 3.893 MB / 1.232 GB, free: 152 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0184/0.6696, allocations: 3.931 MB / 1.236 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03191/0.7015, allocations: 6.215 MB / 1.242 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.7016, allocations: 0 / 1.242 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.6659/1.367, allocations: 8.038 MB / 1.25 GB, free: 81.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/1.368, allocations: 5.234 kB / 1.25 GB, free: 81.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03674/1.404, allocations: 7.284 MB / 1.257 GB, free: 81.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.404, allocations: 2.125 kB / 1.257 GB, free: 81.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01396/1.418, allocations: 1.919 MB / 1.259 GB, free: 81.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/1.418, allocations: 4.516 kB / 1.259 GB, free: 81.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01262/1.431, allocations: 1.505 MB / 1.26 GB, free: 81.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005968/1.432, allocations: 204.6 kB / 1.26 GB, free: 81.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01853/1.45, allocations: 3.992 MB / 1.264 GB, free: 80.13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01929/1.47, allocations: 3.926 MB / 1.268 GB, free: 79.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0321/1.502, allocations: 6.195 MB / 1.274 GB, free: 77.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/1.502, allocations: 4 kB / 1.274 GB, free: 77.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03966/1.541, allocations: 8.026 MB / 1.282 GB, free: 76.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.541, allocations: 7.953 kB / 1.282 GB, free: 76.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03467/1.576, allocations: 7.275 MB / 1.289 GB, free: 74.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/1.576, allocations: 1.219 kB / 1.289 GB, free: 74.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01362/1.59, allocations: 1.916 MB / 1.291 GB, free: 74.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.59, allocations: 1.562 kB / 1.291 GB, free: 74.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01245/1.602, allocations: 1.502 MB / 1.292 GB, free: 74.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000672/1.603, allocations: 205.2 kB / 1.293 GB, free: 73.99 MB / 0.9981 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.001068/1.604, allocations: 190.7 kB / 1.293 GB, free: 73.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005625/1.605, allocations: 34.05 kB / 1.293 GB, free: 73.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02877/1.633, allocations: 6.696 MB / 1.299 GB, free: 69.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.633, allocations: 4 kB / 1.299 GB, free: 69.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.633, allocations: 0 / 1.299 GB, free: 69.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/1.633, allocations: 0.5625 kB / 1.299 GB, free: 69.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/1.637, allocations: 6.483 MB / 1.306 GB, free: 61.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02579/1.663, allocations: 5.638 MB / 1.311 GB, free: 56.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01145/1.674, allocations: 1.63 MB / 1.313 GB, free: 54.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.674, allocations: 0 / 1.313 GB, free: 54.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004543/1.675, allocations: 179.5 kB / 1.313 GB, free: 54.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.675, allocations: 0.875 kB / 1.313 GB, free: 54.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.675, allocations: 0 / 1.313 GB, free: 54.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02671/1.702, allocations: 5.774 MB / 1.319 GB, free: 48.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.703, allocations: 0.559 MB / 1.319 GB, free: 47.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/1.703, allocations: 4 kB / 1.319 GB, free: 47.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01031/1.713, allocations: 1.257 MB / 1.32 GB, free: 46.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.714, allocations: 39.91 kB / 1.32 GB, free: 46.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/1.714, allocations: 186.3 kB / 1.321 GB, free: 46.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002235/1.714, allocations: 235.2 kB / 1.321 GB, free: 46.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.714, allocations: 1.969 kB / 1.321 GB, free: 46.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00251/1.717, allocations: 0.5881 MB / 1.321 GB, free: 45.68 MB / 0.9981 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.0005887/1.717, allocations: 188.8 kB / 1.322 GB, free: 45.51 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.04597/1.763, allocations: 10.29 MB / 1.332 GB, free: 35.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.763, allocations: 0 / 1.332 GB, free: 35.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01263/1.776, allocations: 2.907 MB / 1.334 GB, free: 32.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.777, allocations: 81.22 kB / 1.334 GB, free: 32.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/1.79, allocations: 3.245 MB / 1.338 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/1.791, allocations: 0.7973 MB / 1.338 GB, free: 28.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007115/1.798, allocations: 1.64 MB / 1.34 GB, free: 26.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/1.8, allocations: 0.4982 MB / 1.341 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.8, allocations: 0 / 1.341 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of Templates: time 0.1107/1.911, allocations: 84.8 MB / 1.423 GB, free: 4.973 MB / 1.061 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