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.0007964/0.0007964, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009397/0.0009397, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.707/2.707, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003825, allocations: 8.938 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2692, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003091/0.2723, allocations: 2.514 MB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00437/0.2767, allocations: 2.917 MB / 1.065 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.277, allocations: 7.938 kB / 1.065 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.2773, allocations: 71.8 kB / 1.065 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006854/0.278, allocations: 190.8 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.2796, allocations: 0.5172 MB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007749/0.2804, allocations: 0.5056 MB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.2807, allocations: 98.53 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.281, allocations: 171.3 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.2813, allocations: 195.1 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.2813, allocations: 23.98 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008019/0.2821, allocations: 371.7 kB / 1.067 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.2822, allocations: 71.67 kB / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.2824, allocations: 220.7 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007291/0.2832, allocations: 0.5221 MB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2832, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.477e-06/0.2832, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.2832, allocations: 3.938 kB / 1.067 GB, free: 12.57 MB / 0.8262 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.0011/0.2843, allocations: 0.6662 MB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2844, allocations: 15.97 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09875/0.3831, allocations: 10.59 MB / 1.079 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.3854, allocations: 0.9246 MB / 1.079 GB, free: 268 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.3855, allocations: 24.94 kB / 1.079 GB, free: 244 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009448/0.3865, allocations: 24.38 kB / 1.079 GB, free: 220 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/0.4038, allocations: 3.563 MB / 1.083 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.4038, allocations: 0 / 1.083 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000508/0.4044, allocations: 16 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4044, allocations: 4 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.4199, allocations: 2.805 MB / 1.086 GB, free: 9.816 MB / 0.8419 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.01611/0.436, allocations: 17.17 MB / 1.102 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01496/0.451, allocations: 2.758 MB / 1.105 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01497/0.466, allocations: 2.624 MB / 1.108 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.4662, allocations: 27.98 kB / 1.108 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.4662, allocations: 42.5 kB / 1.108 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/0.4662, allocations: 0 / 1.108 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04648/0.5127, allocations: 8.032 MB / 1.116 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.5128, allocations: 55.41 kB / 1.116 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.5133, allocations: 345.7 kB / 1.116 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0007904/0.5142, allocations: 37.64 kB / 1.116 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.5145, allocations: 200.4 kB / 1.116 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006816/0.5152, allocations: 74.94 kB / 1.116 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007632/0.516, allocations: 29.7 kB / 1.116 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5162, allocations: 346.8 kB / 1.117 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02083/0.537, allocations: 3.645 MB / 1.12 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02066/0.5577, allocations: 3.681 MB / 1.124 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03407/0.5918, allocations: 5.788 MB / 1.129 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.5919, allocations: 0 / 1.129 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04218/0.6341, allocations: 7.539 MB / 1.137 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.923e-05/0.6342, allocations: 102.1 kB / 1.137 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03813/0.6723, allocations: 6.85 MB / 1.144 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.6724, allocations: 8 kB / 1.144 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01511/0.6875, allocations: 1.685 MB / 1.145 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.6876, allocations: 8 kB / 1.145 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01372/0.7013, allocations: 1.288 MB / 1.147 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009046/0.7022, allocations: 203.5 kB / 1.147 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7023, allocations: 4 kB / 1.147 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04313/0.7454, allocations: 7.474 MB / 1.154 GB, free: 108 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03755/0.783, allocations: 6.831 MB / 1.161 GB, free: 9.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.7831, allocations: 3.938 kB / 1.161 GB, free: 9.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01489/0.798, allocations: 1.697 MB / 1.162 GB, free: 7.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.798, allocations: 0 / 1.162 GB, free: 7.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01354/0.8116, allocations: 1.287 MB / 1.164 GB, free: 6.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/0.8126, allocations: 203.5 kB / 1.164 GB, free: 6.074 MB / 0.92 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.001345/0.814, allocations: 217.1 kB / 1.164 GB, free: 5.852 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00053/0.8145, allocations: 43.41 kB / 1.164 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03297/0.8475, allocations: 6.348 MB / 1.17 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.8476, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8476, allocations: 4 kB / 1.17 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.8476, allocations: 3.984 kB / 1.17 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006413/0.854, allocations: 6.484 MB / 1.177 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02953/0.8836, allocations: 5.286 MB / 1.182 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01232/0.896, allocations: 1.459 MB / 1.183 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.896, allocations: 0 / 1.183 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005813/0.8966, allocations: 171.5 kB / 1.183 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.8966, allocations: 4 kB / 1.183 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8966, allocations: 0 / 1.183 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/0.925, allocations: 5.44 MB / 1.189 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.9262, allocations: 0.5622 MB / 1.189 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/0.9267, allocations: 8 kB / 1.189 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01111/0.9378, allocations: 1.077 MB / 1.19 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.9381, allocations: 47.84 kB / 1.19 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006103/0.9387, allocations: 175.5 kB / 1.19 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002925/0.939, allocations: 235.2 kB / 1.191 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.939, allocations: 0 / 1.191 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002822/0.9418, allocations: 0.5934 MB / 1.191 GB, free: 8.371 MB / 0.9512 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.0007162/0.9426, allocations: 177.7 kB / 1.191 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.05039/0.993, allocations: 9.683 MB / 1.201 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.993, allocations: 0 / 1.201 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.01415/1.007, allocations: 2.739 MB / 1.204 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.008, allocations: 81.39 kB / 1.204 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.023, allocations: 3.255 MB / 1.207 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/1.024, allocations: 0.7884 MB / 1.208 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003355/1.027, allocations: 0.5528 MB / 1.208 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of SimCode: time 8.12e-07/1.027, allocations: 3.938 kB / 1.208 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of Templates: time 0.05873/1.086, allocations: 36.92 MB / 1.244 GB, free: 1.918 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches