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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001618/0.001618, 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.002017/0.002017, 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7279, allocations: 140.3 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.005532/0.7334, allocations: 2.876 MB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006399/0.7399, allocations: 2.969 MB / 0.9553 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.7402, allocations: 8.125 kB / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.7406, allocations: 63 kB / 0.9554 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009442/0.7416, allocations: 189.4 kB / 0.9555 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.7442, allocations: 0.5226 MB / 0.956 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009846/0.7452, allocations: 0.5033 MB / 0.9565 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.7455, allocations: 103.9 kB / 0.9566 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.746, allocations: 175.1 kB / 0.9568 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.7464, allocations: 207 kB / 0.957 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.7465, allocations: 22.31 kB / 0.957 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.7481, allocations: 378.1 kB / 0.9574 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.7482, allocations: 78.61 kB / 0.9575 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.7486, allocations: 196.1 kB / 0.9576 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.7495, allocations: 0.5369 MB / 0.9582 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7495, allocations: 0 / 0.9582 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7495, allocations: 4 kB / 0.9582 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.575e-05/0.7496, allocations: 1.094 kB / 0.9582 GB, free: 2.742 MB / 0.7169 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.001897/0.7515, allocations: 0.7493 MB / 0.9589 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.7515, allocations: 9.625 kB / 0.9589 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1017/0.8533, allocations: 12.22 MB / 0.9708 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.8554, allocations: 0.9246 MB / 0.9718 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.8554, allocations: 24.92 kB / 0.9718 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004561/0.8559, allocations: 28.38 kB / 0.9718 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.8714, allocations: 3.734 MB / 0.9754 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.8714, allocations: 0 / 0.9754 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.8717, allocations: 8 kB / 0.9755 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.8718, allocations: 8 kB / 0.9755 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.8862, allocations: 2.972 MB / 0.9784 GB, free: 4.516 MB / 0.7325 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.02005/0.9063, allocations: 17.14 MB / 0.9951 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01524/0.9215, allocations: 2.934 MB / 0.998 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01462/0.9362, allocations: 2.795 MB / 1.001 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.9363, allocations: 35.89 kB / 1.001 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.9363, allocations: 34.56 kB / 1.001 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.9364, allocations: 0 / 1.001 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.04487/0.9812, allocations: 8.543 MB / 1.009 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.9813, allocations: 51.41 kB / 1.009 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.9817, allocations: 337.6 kB / 1.009 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/0.9823, allocations: 37.7 kB / 1.01 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.9826, allocations: 208.2 kB / 1.01 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004799/0.9831, allocations: 78.89 kB / 1.01 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.9847, allocations: 476.9 kB / 1.01 GB, free: 224 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9848, allocations: 342.8 kB / 1.011 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02009/1.005, allocations: 3.897 MB / 1.014 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02022/1.025, allocations: 3.934 MB / 1.018 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0332/1.058, allocations: 6.2 MB / 1.024 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/1.058, allocations: 0 / 1.024 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04042/1.099, allocations: 8.031 MB / 1.032 GB, free: 9.773 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.099, allocations: 11.94 kB / 1.032 GB, free: 9.762 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03555/1.134, allocations: 7.295 MB / 1.039 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.134, allocations: 4 kB / 1.039 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/1.149, allocations: 1.916 MB / 1.041 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.149, allocations: 0 / 1.041 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01359/1.163, allocations: 1.518 MB / 1.043 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007853/1.164, allocations: 207.5 kB / 1.043 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02001/1.184, allocations: 3.985 MB / 1.047 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01959/1.203, allocations: 3.93 MB / 1.051 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03301/1.236, allocations: 6.192 MB / 1.057 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.918e-06/1.236, allocations: 0 / 1.057 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04131/1.278, allocations: 8.018 MB / 1.064 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.278, allocations: 7.938 kB / 1.064 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03622/1.314, allocations: 7.287 MB / 1.072 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/1.314, allocations: 0 / 1.072 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/1.329, allocations: 1.916 MB / 1.073 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.329, allocations: 4 kB / 1.073 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01339/1.342, allocations: 1.494 MB / 1.075 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007905/1.343, allocations: 211.5 kB / 1.075 GB, free: 13.72 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.0009997/1.344, allocations: 192.1 kB / 1.075 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005682/1.344, allocations: 35.53 kB / 1.075 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03183/1.376, allocations: 6.703 MB / 1.082 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.376, allocations: 4 kB / 1.082 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.376, allocations: 4 kB / 1.082 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.376, allocations: 0 / 1.082 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005353/1.382, allocations: 6.491 MB / 1.088 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02832/1.41, allocations: 5.621 MB / 1.094 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01234/1.422, allocations: 1.631 MB / 1.095 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/1.422, allocations: 8 kB / 1.095 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000492/1.423, allocations: 175.5 kB / 1.095 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/1.423, allocations: 7.984 kB / 1.095 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.423, allocations: 0 / 1.095 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02862/1.452, allocations: 5.779 MB / 1.101 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.453, allocations: 0.5545 MB / 1.102 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006269/1.453, allocations: 8 kB / 1.102 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01135/1.465, allocations: 1.257 MB / 1.103 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.465, allocations: 39.91 kB / 1.103 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006674/1.466, allocations: 175.5 kB / 1.103 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002975/1.466, allocations: 239.2 kB / 1.103 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.466, allocations: 0 / 1.103 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003019/1.469, allocations: 0.5895 MB / 1.104 GB, free: 14.66 MB / 0.8731 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.0006763/1.47, allocations: 175.1 kB / 1.104 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.05176/1.521, allocations: 10.29 MB / 1.114 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.522, allocations: 0 / 1.114 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01439/1.536, allocations: 2.907 MB / 1.117 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/1.537, allocations: 81.39 kB / 1.117 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.552, allocations: 3.407 MB / 1.12 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/1.552, allocations: 0.7923 MB / 1.121 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003303/1.555, allocations: 0.5528 MB / 1.122 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of SimCode: time 1.182e-06/1.555, allocations: 0 / 1.122 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of Templates: time 0.0527/1.608, allocations: 37.15 MB / 1.158 GB, free: 7.051 MB / 0.92 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