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.001041/0.001041, allocations: 99.19 kB / 16.35 MB, free: 5.824 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.001079/0.001079, allocations: 193.5 kB / 17.29 MB, free: 5.48 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.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.473/2.473, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 60.88 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3613, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004343/0.3657, allocations: 2.839 MB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004439/0.3702, allocations: 2.964 MB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.3704, allocations: 4 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.3708, allocations: 79.27 kB / 1.025 GB, free: 3.957 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000587/0.3714, allocations: 211 kB / 1.025 GB, free: 3.75 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.3733, allocations: 0.609 MB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007417/0.374, allocations: 0.5329 MB / 1.026 GB, free: 2.605 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.3743, allocations: 118.6 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.3745, allocations: 187.4 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.3748, allocations: 223 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.3748, allocations: 40 kB / 1.026 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000869/0.3757, allocations: 383.7 kB / 1.027 GB, free: 1.668 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.3758, allocations: 95.61 kB / 1.027 GB, free: 1.574 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.376, allocations: 219 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008825/0.3769, allocations: 0.7284 MB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3769, allocations: 0 / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3769, allocations: 0 / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3769, allocations: 0 / 1.028 GB, free: 0.6289 MB / 0.795 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.001108/0.378, allocations: 0.7518 MB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3781, allocations: 12.86 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08987/0.468, allocations: 12.21 MB / 1.04 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.4704, allocations: 0.9247 MB / 1.041 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.4705, allocations: 20.94 kB / 1.041 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004557/0.4709, allocations: 24.38 kB / 1.041 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.4859, allocations: 3.738 MB / 1.045 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4859, allocations: 0 / 1.045 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.4861, allocations: 12 kB / 1.045 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.4862, allocations: 7.984 kB / 1.045 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.4999, allocations: 2.972 MB / 1.048 GB, free: 11.84 MB / 0.8262 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.01592/0.5159, allocations: 17.15 MB / 1.065 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/0.5291, allocations: 2.934 MB / 1.068 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01287/0.542, allocations: 2.795 MB / 1.07 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.5422, allocations: 31.98 kB / 1.07 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.5422, allocations: 34.55 kB / 1.07 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 3.006e-06/0.5422, allocations: 3.938 kB / 1.07 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.6648/1.207, allocations: 8.538 MB / 1.079 GB, free: 61.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/1.207, allocations: 56.88 kB / 1.079 GB, free: 61.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/1.208, allocations: 344.4 kB / 1.079 GB, free: 60.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0005617/1.208, allocations: 30.95 kB / 1.079 GB, free: 60.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/1.208, allocations: 195 kB / 1.079 GB, free: 60.76 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/1.209, allocations: 77.66 kB / 1.079 GB, free: 60.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/1.21, allocations: 481 kB / 1.08 GB, free: 60.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/1.21, allocations: 340.8 kB / 1.08 GB, free: 60.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02018/1.23, allocations: 3.901 MB / 1.084 GB, free: 59.63 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0193/1.25, allocations: 3.932 MB / 1.088 GB, free: 58.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03167/1.282, allocations: 6.203 MB / 1.094 GB, free: 57.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/1.282, allocations: 5.031 kB / 1.094 GB, free: 57.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04015/1.322, allocations: 8.028 MB / 1.102 GB, free: 55.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.322, allocations: 8.625 kB / 1.102 GB, free: 55.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03344/1.355, allocations: 7.294 MB / 1.109 GB, free: 54.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.799e-05/1.355, allocations: 1.062 kB / 1.109 GB, free: 54.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/1.369, allocations: 1.918 MB / 1.111 GB, free: 53.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/1.369, allocations: 1.438 kB / 1.111 GB, free: 53.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01254/1.382, allocations: 1.505 MB / 1.112 GB, free: 53.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009666/1.383, allocations: 206.2 kB / 1.112 GB, free: 53.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01751/1.4, allocations: 3.987 MB / 1.116 GB, free: 51.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01748/1.418, allocations: 3.929 MB / 1.12 GB, free: 48.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02852/1.447, allocations: 6.202 MB / 1.126 GB, free: 42.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/1.447, allocations: 3.656 kB / 1.126 GB, free: 42.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03471/1.481, allocations: 8.024 MB / 1.134 GB, free: 34.58 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.481, allocations: 4 kB / 1.134 GB, free: 34.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03104/1.512, allocations: 7.279 MB / 1.141 GB, free: 27.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/1.512, allocations: 0 / 1.141 GB, free: 27.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/1.525, allocations: 1.914 MB / 1.143 GB, free: 25.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.525, allocations: 4 kB / 1.143 GB, free: 25.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/1.537, allocations: 1.495 MB / 1.144 GB, free: 23.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008976/1.538, allocations: 203.5 kB / 1.145 GB, free: 23.68 MB / 0.8419 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.0009099/1.539, allocations: 195.9 kB / 1.145 GB, free: 23.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/1.54, allocations: 39.47 kB / 1.145 GB, free: 23.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0275/1.567, allocations: 6.691 MB / 1.151 GB, free: 16.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.567, allocations: 4 kB / 1.151 GB, free: 16.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.567, allocations: 0 / 1.151 GB, free: 16.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.567, allocations: 7.984 kB / 1.151 GB, free: 16.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/1.571, allocations: 6.49 MB / 1.158 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02478/1.595, allocations: 5.634 MB / 1.163 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01098/1.606, allocations: 1.631 MB / 1.165 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/1.606, allocations: 7.938 kB / 1.165 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003867/1.607, allocations: 171.5 kB / 1.165 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/1.607, allocations: 0 / 1.165 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.607, allocations: 0 / 1.165 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/1.633, allocations: 5.771 MB / 1.171 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.634, allocations: 0.5622 MB / 1.171 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/1.635, allocations: 7.984 kB / 1.171 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01066/1.645, allocations: 1.253 MB / 1.172 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.646, allocations: 39.91 kB / 1.172 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005416/1.646, allocations: 175.5 kB / 1.173 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002953/1.647, allocations: 243.2 kB / 1.173 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.11e-07/1.647, allocations: 0 / 1.173 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002698/1.649, allocations: 0.5923 MB / 1.173 GB, free: 8.668 MB / 0.8575 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.0006118/1.65, allocations: 178 kB / 1.174 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.08055/1.73, allocations: 10.29 MB / 1.184 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.73, allocations: 0 / 1.184 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01908/1.75, allocations: 2.911 MB / 1.187 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.751, allocations: 80.98 kB / 1.187 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/1.765, allocations: 3.225 MB / 1.19 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/1.766, allocations: 0.7962 MB / 1.191 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.008024/1.774, allocations: 1.633 MB / 1.192 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002687/1.777, allocations: 0.5099 MB / 1.193 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of SimCode: time 9.62e-07/1.777, allocations: 0 / 1.193 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.1292/1.906, allocations: 84.76 MB / 1.275 GB, free: 8 kB / 0.9512 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 -s cvode -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