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.001429/0.001429, allocations: 100.1 kB / 15.88 MB, free: 12 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.001512/0.001512, allocations: 196 kB / 16.79 MB, free: 6.809 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.44 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2861, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004367/0.2905, allocations: 2.876 MB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004288/0.2949, allocations: 2.975 MB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.2951, allocations: 4 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.2955, allocations: 71.8 kB / 1.059 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005951/0.2961, allocations: 186.9 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.2974, allocations: 0.5088 MB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.2981, allocations: 0.5056 MB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.2983, allocations: 102.5 kB / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.2986, allocations: 175.3 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.2988, allocations: 211 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/0.2989, allocations: 24 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.2996, allocations: 375.7 kB / 1.061 GB, free: 288 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.2997, allocations: 79.62 kB / 1.061 GB, free: 208 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.2999, allocations: 207 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.3005, allocations: 0.5222 MB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3006, allocations: 3.938 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3006, allocations: 4 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.3006, allocations: 0 / 1.061 GB, free: 15.47 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.001119/0.3017, allocations: 0.7402 MB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3018, allocations: 11.97 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09497/0.3967, allocations: 12.21 MB / 1.074 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.3986, allocations: 0.9247 MB / 1.075 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.3987, allocations: 20.94 kB / 1.075 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/0.3991, allocations: 24.38 kB / 1.075 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/0.4147, allocations: 3.746 MB / 1.079 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4147, allocations: 0 / 1.079 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.415, allocations: 12 kB / 1.079 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.415, allocations: 4 kB / 1.079 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.4292, allocations: 2.965 MB / 1.082 GB, free: 10.7 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.01589/0.4452, allocations: 17.17 MB / 1.098 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/0.4592, allocations: 2.938 MB / 1.101 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01348/0.4727, allocations: 2.784 MB / 1.104 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.4728, allocations: 31.98 kB / 1.104 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.4729, allocations: 38.55 kB / 1.104 GB, free: 140 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.344e-06/0.4729, allocations: 3.938 kB / 1.104 GB, free: 136 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.04344/0.5163, allocations: 8.548 MB / 1.112 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.5164, allocations: 59.41 kB / 1.112 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.5168, allocations: 337.8 kB / 1.113 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005248/0.5173, allocations: 33.7 kB / 1.113 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.5176, allocations: 196.4 kB / 1.113 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.5179, allocations: 78.84 kB / 1.113 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/0.5194, allocations: 480.9 kB / 1.113 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5195, allocations: 342.8 kB / 1.114 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01954/0.5391, allocations: 3.897 MB / 1.118 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01965/0.5587, allocations: 3.931 MB / 1.121 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03298/0.5918, allocations: 6.202 MB / 1.127 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.5918, allocations: 4 kB / 1.127 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04048/0.6323, allocations: 8.037 MB / 1.135 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6323, allocations: 4 kB / 1.135 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03572/0.6681, allocations: 7.287 MB / 1.142 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.6681, allocations: 0 / 1.142 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01456/0.6827, allocations: 1.919 MB / 1.144 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.6827, allocations: 3.984 kB / 1.144 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01315/0.6959, allocations: 1.502 MB / 1.146 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006664/0.6966, allocations: 207.5 kB / 1.146 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01939/0.716, allocations: 3.993 MB / 1.15 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01924/0.7353, allocations: 3.93 MB / 1.154 GB, free: 13.04 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03195/0.7673, allocations: 6.195 MB / 1.16 GB, free: 6.832 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.7673, allocations: 0 / 1.16 GB, free: 6.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03961/0.8069, allocations: 8.029 MB / 1.168 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.807, allocations: 8 kB / 1.168 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03518/0.8421, allocations: 7.28 MB / 1.175 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.8422, allocations: 7.938 kB / 1.175 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01401/0.8562, allocations: 1.908 MB / 1.177 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.8562, allocations: 4 kB / 1.177 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/0.8687, allocations: 1.498 MB / 1.178 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007047/0.8694, allocations: 207.5 kB / 1.178 GB, free: 3.871 MB / 0.9356 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.0009074/0.8703, allocations: 200.1 kB / 1.178 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/0.8708, allocations: 39.52 kB / 1.178 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03163/0.9025, allocations: 6.688 MB / 1.185 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.9025, allocations: 4 kB / 1.185 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.9026, allocations: 0 / 1.185 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.9026, allocations: 0 / 1.185 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005589/0.9082, allocations: 6.495 MB / 1.191 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02827/0.9365, allocations: 5.629 MB / 1.197 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01184/0.9483, allocations: 1.623 MB / 1.198 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.9484, allocations: 3.938 kB / 1.198 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004032/0.9488, allocations: 171.5 kB / 1.199 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.9488, allocations: 7.938 kB / 1.199 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9488, allocations: 3.984 kB / 1.199 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02823/0.977, allocations: 5.779 MB / 1.204 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.9781, allocations: 0.5622 MB / 1.205 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005067/0.9787, allocations: 8 kB / 1.205 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/0.9899, allocations: 1.257 MB / 1.206 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.9901, allocations: 39.91 kB / 1.206 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005623/0.9906, allocations: 175.5 kB / 1.206 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002982/0.9909, allocations: 243.2 kB / 1.206 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.991, allocations: 0 / 1.206 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002927/0.9939, allocations: 0.5856 MB / 1.207 GB, free: 4.809 MB / 0.9669 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.0007036/0.9946, allocations: 183 kB / 1.207 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0511/1.046, allocations: 10.28 MB / 1.217 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.046, allocations: 0 / 1.217 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01428/1.06, allocations: 2.911 MB / 1.22 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.061, allocations: 77.39 kB / 1.22 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/1.076, allocations: 3.391 MB / 1.223 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/1.076, allocations: 0.7923 MB / 1.224 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003442/1.08, allocations: 0.5528 MB / 1.225 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/1.08, allocations: 0 / 1.225 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of Templates: time 0.5178/1.598, allocations: 37.16 MB / 1.261 GB, free: 199.2 MB / 1.014 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