Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001467/0.001467, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001524/0.001524, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8726/0.8739, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003623/0.8776, allocations: 2.849 MB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003973/0.8816, allocations: 2.951 MB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.8818, allocations: 3.312 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.8821, allocations: 82.3 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005476/0.8827, allocations: 206.3 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.8844, allocations: 0.606 MB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007632/0.8852, allocations: 0.5353 MB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.8854, allocations: 117.6 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.8857, allocations: 197.4 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.886, allocations: 215.7 kB / 1.096 GB, free: 376 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.033e-05/0.8861, allocations: 42.12 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.8871, allocations: 394.6 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.8872, allocations: 90.97 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.8874, allocations: 222.5 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.8887, allocations: 0.7276 MB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.8887, allocations: 5.5 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8887, allocations: 0 / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.8887, allocations: 0 / 1.098 GB, free: 15.8 MB / 0.8731 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.001236/0.8899, allocations: 0.7419 MB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.89, allocations: 9.531 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09969/0.9897, allocations: 12.22 MB / 1.11 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.9922, allocations: 0.9245 MB / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.9922, allocations: 19.84 kB / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006511/0.9929, allocations: 26.75 kB / 1.111 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/1.01, allocations: 3.738 MB / 1.115 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.01, allocations: 3.938 kB / 1.115 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/1.01, allocations: 10.12 kB / 1.115 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/1.01, allocations: 10.95 kB / 1.115 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/1.025, allocations: 2.962 MB / 1.118 GB, free: 12.64 MB / 0.8731 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.01904/1.044, allocations: 17.14 MB / 1.135 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/1.059, allocations: 2.938 MB / 1.137 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01416/1.073, allocations: 2.791 MB / 1.14 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/1.073, allocations: 36.06 kB / 1.14 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/1.073, allocations: 31.88 kB / 1.14 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/1.073, allocations: 0 / 1.14 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.04566/1.119, allocations: 8.553 MB / 1.149 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/1.119, allocations: 58.05 kB / 1.149 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/1.12, allocations: 331.9 kB / 1.149 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0009977/1.121, allocations: 32.17 kB / 1.149 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/1.121, allocations: 202.7 kB / 1.149 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007661/1.122, allocations: 79.77 kB / 1.149 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002449/1.124, allocations: 477.4 kB / 1.15 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.124, allocations: 346.9 kB / 1.15 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02016/1.145, allocations: 3.893 MB / 1.154 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01987/1.165, allocations: 3.926 MB / 1.158 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0329/1.197, allocations: 6.207 MB / 1.164 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/1.198, allocations: 0 / 1.164 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04153/1.239, allocations: 8.041 MB / 1.172 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.239, allocations: 7.938 kB / 1.172 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03652/1.276, allocations: 7.283 MB / 1.179 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/1.276, allocations: 4 kB / 1.179 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01479/1.291, allocations: 1.915 MB / 1.181 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/1.291, allocations: 4 kB / 1.181 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01341/1.304, allocations: 1.51 MB / 1.182 GB, free: 10.83 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009722/1.305, allocations: 203.5 kB / 1.182 GB, free: 10.63 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0199/1.325, allocations: 3.989 MB / 1.186 GB, free: 6.637 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01948/1.344, allocations: 3.919 MB / 1.19 GB, free: 2.703 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03196/1.376, allocations: 6.207 MB / 1.196 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.16e-06/1.376, allocations: 0 / 1.196 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04031/1.417, allocations: 8.025 MB / 1.204 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.417, allocations: 8 kB / 1.204 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03873/1.456, allocations: 7.271 MB / 1.211 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.456, allocations: 8 kB / 1.211 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01516/1.471, allocations: 1.912 MB / 1.213 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.471, allocations: 8 kB / 1.213 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/1.484, allocations: 1.487 MB / 1.214 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/1.485, allocations: 211.5 kB / 1.214 GB, free: 9.543 MB / 0.9512 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.001426/1.487, allocations: 192.1 kB / 1.215 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008545/1.488, allocations: 35.53 kB / 1.215 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03344/1.521, allocations: 6.7 MB / 1.221 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/1.521, allocations: 4 kB / 1.221 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.521, allocations: 3.984 kB / 1.221 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/1.521, allocations: 0 / 1.221 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006433/1.528, allocations: 6.483 MB / 1.228 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02918/1.557, allocations: 5.622 MB / 1.233 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0123/1.569, allocations: 1.631 MB / 1.235 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.569, allocations: 4 kB / 1.235 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007469/1.57, allocations: 175.5 kB / 1.235 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/1.57, allocations: 7.984 kB / 1.235 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.57, allocations: 0 / 1.235 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02921/1.599, allocations: 5.779 MB / 1.24 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.601, allocations: 0.5661 MB / 1.241 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007199/1.601, allocations: 8 kB / 1.241 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01141/1.613, allocations: 1.253 MB / 1.242 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/1.613, allocations: 39.92 kB / 1.242 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007234/1.614, allocations: 171.5 kB / 1.242 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003107/1.614, allocations: 239.2 kB / 1.243 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.614, allocations: 4 kB / 1.243 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003165/1.617, allocations: 0.5934 MB / 1.243 GB, free: 10.47 MB / 0.9825 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.0007775/1.618, allocations: 170.9 kB / 1.243 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05115/1.669, allocations: 10.28 MB / 1.254 GB, free: 4 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.669, allocations: 0 / 1.254 GB, free: 4 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01447/1.684, allocations: 2.911 MB / 1.256 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/1.685, allocations: 83.7 kB / 1.256 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.7, allocations: 3.257 MB / 1.26 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/1.7, allocations: 0.7962 MB / 1.26 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003624/1.704, allocations: 0.5528 MB / 1.261 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.704, allocations: 4 kB / 1.261 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of Templates: time 0.05385/1.758, allocations: 37.16 MB / 1.297 GB, free: 2.977 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches